Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da70836

Browse files
committed
Fix typos
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets |
1 parent 2cff942 commit da70836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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:

0 commit comments

Comments
 (0)