Skip to content

Commit aed9091

Browse files
committed
minor #12448 Update groups.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update groups.rst Making XML/PHP examples similar to Annot/Yaml Commits ------- 3cccb8b Update groups.rst
2 parents 642dd95 + 3cccb8b commit aed9091

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation/groups.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ user registers and when a user updates their contact information later:
9292
9393
<property name="city">
9494
<constraint name="Length">
95-
<option name="min">7</option>
95+
<option name="min">2</option>
9696
</constraint>
9797
</property>
9898
</class>
@@ -123,7 +123,7 @@ user registers and when a user updates their contact information later:
123123
]));
124124
125125
$metadata->addPropertyConstraint('city', new Assert\Length([
126-
"min" => 3,
126+
"min" => 2,
127127
]));
128128
}
129129
}

0 commit comments

Comments
 (0)