Skip to content

Commit be0bc27

Browse files
committed
fix Constraints\Email::ERROR_NAMES
1 parent f834fb5 commit be0bc27

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Email extends Constraint
3232
public const INVALID_FORMAT_ERROR = 'bd79c0ab-ddba-46cc-a703-a7a4b08de310';
3333

3434
protected static $errorNames = [
35-
self::INVALID_FORMAT_ERROR => 'STRICT_CHECK_FAILED_ERROR',
35+
self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
3636
];
3737

3838
/**

0 commit comments

Comments
 (0)