Skip to content

Commit ef72b4b

Browse files
committed
minor #15058 Fixed typo for YamlEncoder section (vertisan)
This PR was submitted for the 5.2 branch but it was merged into the 4.4 branch instead. Discussion ---------- Fixed typo for YamlEncoder section Minor typo fix for YamlEncoder section <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- e98cef4 Fixed typo for YamlEncoder section
2 parents 81e245b + e98cef4 commit ef72b4b

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)