Skip to content

Commit e98cef4

Browse files
vertisanjaviereguiluz
authored andcommitted
Fixed typo for YamlEncoder section
Minor typo fix for YamlEncoder section
1 parent 81e245b commit e98cef4

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
@@ -994,7 +994,7 @@ The ``YamlEncoder`` Context Options
994994
The ``encode()`` method, like other encoder, uses ``context`` to set
995995
configuration options for the YamlEncoder an associative array::
996996

997-
$xmlEncoder->encode($array, 'xml', $context);
997+
$yamlEncoder->encode($array, 'yaml', $context);
998998

999999
These are the options available:
10001000

0 commit comments

Comments
 (0)