comparison vendor/symfony/validator/Constraints/NotNull.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
21 */ 21 */
22 class NotNull extends Constraint 22 class NotNull extends Constraint
23 { 23 {
24 const IS_NULL_ERROR = 'ad32d13f-c3d4-423b-909a-857b961eb720'; 24 const IS_NULL_ERROR = 'ad32d13f-c3d4-423b-909a-857b961eb720';
25 25
26 protected static $errorNames = array( 26 protected static $errorNames = [
27 self::IS_NULL_ERROR => 'IS_NULL_ERROR', 27 self::IS_NULL_ERROR => 'IS_NULL_ERROR',
28 ); 28 ];
29 29
30 public $message = 'This value should not be null.'; 30 public $message = 'This value should not be null.';
31 } 31 }