8000 Merge pull request #3401 from mariusbalcytis/patch-1 · symfony/symfony-docs@0428c57 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0428c57

Browse files
committed
Merge pull request #3401 from mariusbalcytis/patch-1
UniqueEntity fields property mistype in XML example
2 parents 9f3876f + d49f2a8 commit 0428c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Consider this example:
220220
221221
<class name="Acme\AdministrationBundle\Entity\Service">
222222
<constraint name="Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity">
223-
<option name="field">
223+
<option name="fields">
224224
<value>host</value>
225225
<value>port</value>
226226
</option>

0 commit comments

Comments
 (0)
0