Skip to content

Commit

Permalink
fix Constraints\Email::ERROR_NAMES
Browse files Browse the repository at this point in the history
  • Loading branch information
mathroc committed Nov 1, 2023
1 parent f834fb5 commit be0bc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Validator/Constraints/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Email extends Constraint
public const INVALID_FORMAT_ERROR = 'bd79c0ab-ddba-46cc-a703-a7a4b08de310';

protected static $errorNames = [
self::INVALID_FORMAT_ERROR => 'STRICT_CHECK_FAILED_ERROR',
self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
];

/**
Expand Down

0 comments on commit be0bc27

Please sign in to comment.