Skip to content

Commit 4761a08

Browse files
committed
fix merge
1 parent 13f8863 commit 4761a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)