diff --git a/components/serializer.rst b/components/serializer.rst index ecab743a6af..e2bda4d5ff9 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -139,7 +139,7 @@ of the ``Person`` class would be encoded in XML format:: EOF; - $person = $serializer->deserialize($data,'Acme\Person','xml'); + $person = $serializer->deserialize($data, 'Acme\Person', 'xml'); In this case, :method:`Symfony\\Component\\Serializer\\Serializer::deserialize` needs three parameters: diff --git a/components/templating/introduction.rst b/components/templating/introduction.rst index aac7019f6ed..247ea748c35 100644 --- a/components/templating/introduction.rst +++ b/components/templating/introduction.rst @@ -196,7 +196,7 @@ method is used. $templating = new DelegatingEngine(array( new PhpEngine(...), - new CustomEngine(...) + new CustomEngine(...), )); .. _Packagist: https://packagist.org/packages/symfony/templating