We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13f8863 commit 4761a08Copy full SHA for 4761a08
Constraints/Email.php
@@ -68,7 +68,7 @@ public function __construct(
68
throw new InvalidArgumentException('The "mode" parameter value is not valid.');
69
}
70
71
- if (null !== $mode && !\in_array($mode, self::$validationModes, true)) {
+ if (null !== $mode && !\in_array($mode, self::VALIDATION_MODES, true)) {
72
73
74
0 commit comments