Skip to content

Commit

Permalink
minor #4949 Fixes for 2.3 branch (ifdattic)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Feb 1, 2015
2 parents 42b44c4 + e6ffd5d commit 208904a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ of the ``Person`` class would be encoded in XML format::
</person>
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:
Expand Down
2 changes: 1 addition & 1 deletion components/templating/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ method is used.
$templating = new DelegatingEngine(array(
new PhpEngine(...),
new CustomEngine(...)
new CustomEngine(...),
));
.. _Packagist: https://packagist.org/packages/symfony/templating

0 comments on commit 208904a

Please sign in to comment.