From f29e25713a42f03fcdf8fd99e1c88f6b9732d579 Mon Sep 17 00:00:00 2001 From: Bob Mulder Date: Fri, 22 Jul 2016 14:55:22 +0200 Subject: [PATCH] Fix code sample --- doc/serializers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/serializers.rst b/doc/serializers.rst index f3df56bd..3531d49a 100644 --- a/doc/serializers.rst +++ b/doc/serializers.rst @@ -56,7 +56,7 @@ and the ``JsonEncoder`` to being able to serialize and deserialize messages. use Symfony\Component\Serializer\Encoder\JsonEncoder; use Symfony\Component\Serializer\Serializer; - $symfonySerializer = new Serializer(array(new EnvelopeNormalizer), array(new JsonEncoder); + $symfonySerializer = new Serializer(array(new EnvelopeNormalizer), array(new JsonEncoder)); $serializer = new SymfonySerializer($symfonySerializer); JMS Serializer