8000 minor #4949 Fixes for 2.3 branch (ifdattic) · symfony/symfony-docs@208904a · GitHub
[go: up one dir, main page]

Skip to content

Commit 208904a

Browse files
committed
minor #4949 Fixes for 2.3 branch (ifdattic)
This PR was merged into the 2.3 branch. Discussion ---------- Fixes for 2.3 branch | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | Commits ------- e6ffd5d Add missing comma in array da70836 Fix typos
2 parents 42b44c4 + e6ffd5d commit 208904a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ of the ``Person`` class would be encoded in XML format::
139139
</person>
140140
EOF;
141141

142-
$person = $serializer->deserialize($data,'Acme\Person','xml');
142+
$person = $serializer->deserialize($data, 'Acme\Person', 'xml');
143143

144144
In this case, :method:`Symfony\\Component\\Serializer\\Serializer::deserialize`
145145
needs three parameters:

components/templating/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ method is used.
196196
197197
$templating = new DelegatingEngine(array(
198198
new PhpEngine(...),
199-
new CustomEngine(...)
199+
new CustomEngine(...),
200200
));
201201
202202
.. _Packagist: https://packagist.org/packages/symfony/templating

0 commit comments

Comments
 (0)
0