Skip to content

Commit 3cccb8b

Browse files
authored
Update groups.rst
1 parent 642dd95 commit 3cccb8b

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)