8000 Update UniqueEntity.rst · symfony/symfony-docs@d49f2a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit d49f2a8

Browse files
Update UniqueEntity.rst
1 parent 5194403 commit d49f2a8

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