Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ea61ad3

Browse filesBrowse files
committed
fix merge
1 parent dbeb261 commit ea61ad3
Copy full SHA for ea61ad3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • src/Symfony/Component/Validator/Constraints
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Validator/Constraints/Email.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/Email.php
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.