Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/Country.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 |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
21 */ | 21 */ |
22 class Country extends Constraint | 22 class Country extends Constraint |
23 { | 23 { |
24 const NO_SUCH_COUNTRY_ERROR = '8f900c12-61bd-455d-9398-996cd040f7f0'; | 24 const NO_SUCH_COUNTRY_ERROR = '8f900c12-61bd-455d-9398-996cd040f7f0'; |
25 | 25 |
26 protected static $errorNames = array( | 26 protected static $errorNames = [ |
27 self::NO_SUCH_COUNTRY_ERROR => 'NO_SUCH_COUNTRY_ERROR', | 27 self::NO_SUCH_COUNTRY_ERROR => 'NO_SUCH_COUNTRY_ERROR', |
28 ); | 28 ]; |
29 | 29 |
30 public $message = 'This value is not a valid country.'; | 30 public $message = 'This value is not a valid country.'; |
31 } | 31 } |