Commit 1440ca3
Update Collection.rst
The line:
"personal_email: Email"
contains a mistake, as every constraint name should start on a new line and with the - symbol.
If I use the code sample in the yaml file, it would throw an exception:
"The value Email is not an instance of Constraint in constraint Symfony\Component\Validator\Constraints\Required"1 parent f3ef5de commit 1440ca3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments