Skip to content

Commit

Permalink
TYPO: missing closing parantheses of the array
Browse files Browse the repository at this point in the history
  • Loading branch information
listerical85 committed Jul 15, 2015
1 parent c63e52e commit 577087e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ to your class and choose which groups to use when serializing::
$serializer = $this->get('serializer');
$json = $serializer->serialize(
$someObject,
'json', array('groups' => array('group1')
'json', array('groups' => array('group1'))
);

.. _cookbook-serializer-enabling-metadata-cache:
Expand Down

0 comments on commit 577087e

Please sign in to comment.