Skip to content

Commit

Permalink
[#7686] tweak the example code
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Apr 8, 2017
1 parent 4170916 commit 0522de9
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 0522de9

Please sign in to comment.