comparison vendor/symfony/validator/Constraints/Currency.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
22 */ 22 */
23 class Currency extends Constraint 23 class Currency extends Constraint
24 { 24 {
25 const NO_SUCH_CURRENCY_ERROR = '69945ac1-2db4-405f-bec7-d2772f73df52'; 25 const NO_SUCH_CURRENCY_ERROR = '69945ac1-2db4-405f-bec7-d2772f73df52';
26 26
27 protected static $errorNames = array( 27 protected static $errorNames = [
28 self::NO_SUCH_CURRENCY_ERROR => 'NO_SUCH_CURRENCY_ERROR', 28 self::NO_SUCH_CURRENCY_ERROR => 'NO_SUCH_CURRENCY_ERROR',
29 ); 29 ];
30 30
31 public $message = 'This value is not a valid currency.'; 31 public $message = 'This value is not a valid currency.';
32 } 32 }