Skip to content

Commit 577087e

Browse files
committed
TYPO: missing closing parantheses of the array
1 parent c63e52e commit 577087e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ to your class and choose which groups to use when serializing::
169169
$serializer = $this->get('serializer');
170170
$json = $serializer->serialize(
171171
$someObject,
172-
'json', array('groups' => array('group1')
172+
'json', array('groups' => array('group1'))
173173
);
174174

175175
.. _cookbook-serializer-enabling-metadata-cache:

0 commit comments

Comments
 (0)