Permalink
Browse files

minor #4781 [Serializer] Bad variable name in example (arno14)

This PR was submitted for the master branch but it was merged into the 2.6 branch instead (closes #4781).

Discussion
----------

[Serializer] Bad variable name in example

Commits
-------

ef4abd1 Typo in Serializer doc
  • Loading branch information...
wouterj committed Jan 8, 2015
2 parents ce37b96 + ef4abd1 commit eb563767f4eb7ab9b8273ea712d3eb4874a62488
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/serializer.rst
@@ -310,7 +310,7 @@ when such a case is encountered::
$org->setName('Les-Tilleuls.coop');
$org->setMembers(array($member));
$member->setOrganization($kevin);
$member->setOrganization($org);
echo $serializer->serialize($org, 'json'); // Throws a CircularReferenceException

0 comments on commit eb56376

Please sign in to comment.