We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f004c3 commit 786555dCopy full SHA for 786555d
reference/constraints/Type.rst
@@ -72,7 +72,7 @@ This will check if ``firstName`` is of type ``string`` and that ``age`` is an
72
<class name="AppBundle\Entity\Author">
73
<property name="firstName">
74
<constraint name="Type">
75
- <type>string</type>
+ <option name="type">string</option>
76
</constraint>
77
</property>
78
<property name="age">
0 commit comments