comparison vendor/symfony/validator/Constraints/Traverse.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
23 { 23 {
24 public $traverse = true; 24 public $traverse = true;
25 25
26 public function __construct($options = null) 26 public function __construct($options = null)
27 { 27 {
28 if (\is_array($options) && array_key_exists('groups', $options)) { 28 if (\is_array($options) && \array_key_exists('groups', $options)) {
29 throw new ConstraintDefinitionException(sprintf('The option "groups" is not supported by the constraint %s', __CLASS__)); 29 throw new ConstraintDefinitionException(sprintf('The option "groups" is not supported by the constraint %s', __CLASS__));
30 } 30 }
31 31
32 parent::__construct($options); 32 parent::__construct($options);
33 } 33 }