Skip to content

Commit 2cd9477

Browse files
committed
minor #5524 TYPO: missing closing parantheses of the array (listerical85)
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
2 parents c63e52e + 577087e commit 2cd9477

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)