Skip to content

Commit ee06a53

Browse files
azarzagweaverryan
authored andcommitted
Update Collection.rst
Wrong key in php code block.
1 parent 8591b87 commit ee06a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Collection.rst

+1-1
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)