From da708365f324ab4445ce80332b79c54488637286 Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sun, 1 Feb 2015 09:53:25 +0200 Subject: [PATCH 1/2] Fix typos | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- components/serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From e6ffd5ddac28c020bd5f2cbd9ba638119d76de19 Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sun, 1 Feb 2015 10:08:46 +0200 Subject: [PATCH 2/2] Add missing comma in array | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- components/templating/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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