We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df6a11 commit 3cae3a1Copy full SHA for 3cae3a1
validation/raw_values.rst
@@ -25,7 +25,7 @@ address. From inside a controller, it looks like this::
25
$emailConstraint
26
);
27
28
- if (0 === count($errors)) {
+ if (!$errors->count()) {
29
// ... this IS a valid email address, do something
30
} else {
31
// this is *not* a valid email address
0 commit comments