From 577087e60d56fe3a52890170760c433543a06769 Mon Sep 17 00:00:00 2001 From: listerical85 Date: Wed, 15 Jul 2015 16:38:57 +0200 Subject: [PATCH] TYPO: missing closing parantheses of the array --- cookbook/serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/serializer.rst b/cookbook/serializer.rst index 8da5c70a583..8b2d9b296d8 100644 --- a/cookbook/serializer.rst +++ b/cookbook/serializer.rst @@ -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: