8000 minor #4216 Update Collection.rst (azarzag) · symfony/symfony-docs@5c62b36 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c62b36

Browse files
committed
minor #4216 Update Collection.rst (azarzag)
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #4216). Discussion ---------- Update Collection.rst Fixes wrong key in php code block. Commits ------- bf529bb Update Collection.rst
2 parents 8591b87 + ee06a53 commit 5c62b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Collection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ blank but is no longer than 100 characters in length, you would do the following
144144
$metadata->addPropertyConstraint('profileData', new Assert\Collection(array(
145145
'fields' => array(
146146
'personal_email' => new Assert\Email(),
147-
'lastName' => array(
147+
'short_bio' => array(
148148
new Assert\NotBlank(),
149149
new Assert\Length(array(
150150
'max' => 100,

0 commit comments

Comments
 (0)
0