Mercurial > hg > cmmr2012-drupal-site
diff vendor/symfony/validator/Constraints/Choice.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/vendor/symfony/validator/Constraints/Choice.php Thu Feb 28 11:14:44 2019 +0000 +++ b/vendor/symfony/validator/Constraints/Choice.php Thu Feb 28 13:11:55 2019 +0000 @@ -25,11 +25,11 @@ const TOO_FEW_ERROR = '11edd7eb-5872-4b6e-9f12-89923999fd0e'; const TOO_MANY_ERROR = '9bd98e49-211c-433f-8630-fd1c2d0f08c3'; - protected static $errorNames = array( + protected static $errorNames = [ self::NO_SUCH_CHOICE_ERROR => 'NO_SUCH_CHOICE_ERROR', self::TOO_FEW_ERROR => 'TOO_FEW_ERROR', self::TOO_MANY_ERROR => 'TOO_MANY_ERROR', - ); + ]; public $choices; public $callback;