We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42b44c4 + e6ffd5d commit 208904aCopy full SHA for 208904a
components/serializer.rst
@@ -139,7 +139,7 @@ of the ``Person`` class would be encoded in XML format::
139
</person>
140
EOF;
141
142
- $person = $serializer->deserialize($data,'Acme\Person','xml');
+ $person = $serializer->deserialize($data, 'Acme\Person', 'xml');
143
144
In this case, :method:`Symfony\\Component\\Serializer\\Serializer::deserialize`
145
needs three parameters:
components/templating/introduction.rst
@@ -196,7 +196,7 @@ method is used.
196
197
$templating = new DelegatingEngine(array(
198
new PhpEngine(...),
199
- new CustomEngine(...)
+ new CustomEngine(...),
200
));
201
202
.. _Packagist: https://packagist.org/packages/symfony/templating
0 commit comments