Commit d95afaf
committed
minor #11760 Update Collection.rst (murtukov)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #11760).
Discussion
----------
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"`
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
1440ca3 Update Collection.rst1 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