Skip to content

Commit

Permalink
Merge pull request #250 from bobmulder/patch-1
Browse files Browse the repository at this point in the history
Fix code sample
  • Loading branch information
henrikbjorn authored Jul 22, 2016
2 parents f30c018 + f29e257 commit 3b78158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/serializers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b78158

Please sign in to comment.