Permalink
Browse files

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
  • Loading branch information...
weaverryan committed Sep 15, 2014
2 parents 8591b87 + ee06a53 commit 5c62b36f63a308b9d7be262dff9a02b89d94600d
Showing with 1 addition and 1 deletion.
  1. +1 −1 reference/constraints/Collection.rst
@@ -144,7 +144,7 @@ blank but is no longer than 100 characters in length, you would do the following
$metadata->addPropertyConstraint('profileData', new Assert\Collection(array(
'fields' => array(
'personal_email' => new Assert\Email(),
'lastName' => array(
'short_bio' => array(
new Assert\NotBlank(),
new Assert\Length(array(
'max' => 100,

0 comments on commit 5c62b36

Please sign in to comment.