Skip to content

Commit

Permalink
minor #5524 TYPO: missing closing parantheses of the array (listerica…
Browse files Browse the repository at this point in the history
…l85)

This PR was merged into the 2.7 branch.

Discussion
----------

TYPO: missing closing parantheses of the array

| Q             | A
| ------------- | ---
| Doc fix?       | yes
| New docs?  | no
| Applies to    | 2.7

Fix typo: minor typo, the array was missing its closing parentheses in the code block.

Commits
-------

577087e TYPO: missing closing parantheses of the array
  • Loading branch information
xabbuh committed Jul 15, 2015
2 parents c63e52e + 577087e commit 2cd9477
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 2cd9477

Please sign in to comment.