Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aed9091

Browse filesBrowse files
committed
minor symfony#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
Copy full SHA for aed9091

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎validation/groups.rst

Copy file name to clipboardExpand all lines: validation/groups.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.