Skip to content

Commit

Permalink
[Validation Constraint References] Fixed Collection model example
Browse files Browse the repository at this point in the history
  • Loading branch information
HeahDude committed Mar 26, 2017
1 parent 09cc5fc commit b1179c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reference/constraints/Collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ of a collection individually. Take the following example::
class Author
{
protected $profileData = array(
'personal_email',
'short_bio',
'personal_email' => '',
'short_bio' => '',
);

public function setProfileData($key, $value)
Expand Down Expand Up @@ -80,8 +80,8 @@ following:
* )
*/
protected $profileData = array(
'personal_email',
'short_bio',
'personal_email' => '',
'short_bio' => '',
);
}
Expand Down

0 comments on commit b1179c9

Please sign in to comment.