Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Apr 28, 2024
1 parent 13f8863 commit 4761a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Constraints/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct(
throw new InvalidArgumentException('The "mode" parameter value is not valid.');
}

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

Expand Down

0 comments on commit 4761a08

Please sign in to comment.