Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Constraints/IdenticalTo.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
20 */ | 20 */ |
21 class IdenticalTo extends AbstractComparison | 21 class IdenticalTo extends AbstractComparison |
22 { | 22 { |
23 const NOT_IDENTICAL_ERROR = '2a8cc50f-58a2-4536-875e-060a2ce69ed5'; | 23 const NOT_IDENTICAL_ERROR = '2a8cc50f-58a2-4536-875e-060a2ce69ed5'; |
24 | 24 |
25 protected static $errorNames = array( | 25 protected static $errorNames = [ |
26 self::NOT_IDENTICAL_ERROR => 'NOT_IDENTICAL_ERROR', | 26 self::NOT_IDENTICAL_ERROR => 'NOT_IDENTICAL_ERROR', |
27 ); | 27 ]; |
28 | 28 |
29 public $message = 'This value should be identical to {{ compared_value_type }} {{ compared_value }}.'; | 29 public $message = 'This value should be identical to {{ compared_value_type }} {{ compared_value }}.'; |
30 } | 30 } |