Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea61ad3

Browse files
committed
fix merge
1 parent dbeb261 commit ea61ad3

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function __construct(
6868
throw new InvalidArgumentException('The "mode" parameter value is not valid.');
6969
}
7070

71-
if (null !== $mode && !\in_array($mode, self::$validationModes, true)) {
71+
if (null !== $mode && !\in_array($mode, self::VALIDATION_MODES, true)) {
7272
throw new InvalidArgumentException('The "mode" parameter value is not valid.');
7373
}
7474

0 commit comments

Comments
 (0)