From 3f1978b5780fd4820bd7d5931687978e1b2a79e9 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 17 Jul 2018 15:36:33 +0200 Subject: [PATCH] Fixed a syntax issue --- components/serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/serializer.rst b/components/serializer.rst index c6670c8bb19..8828e4bca38 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -172,7 +172,7 @@ needs three parameters: By default, additional attributes that are not mapped to the denormalized object will be ignored by the Serializer component. If you prefer to throw an exception when this happens, set the ``allow_extra_attributes`` context option to -``false`` and provide an object that implements ``ClassMetadataFactoryInterface` +``false`` and provide an object that implements ``ClassMetadataFactoryInterface`` when constructing the normalizer:: $data = <<