From e98cef46e8a9469049446c97e49fc8b6817de372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Farys?= Date: Thu, 4 Mar 2021 18:00:32 +0100 Subject: [PATCH] Fixed typo for YamlEncoder section Minor typo fix for YamlEncoder section --- components/serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/serializer.rst b/components/serializer.rst index f554ed7cf76..f2c3285a33b 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -994,7 +994,7 @@ The ``YamlEncoder`` Context Options The ``encode()`` method, like other encoder, uses ``context`` to set configuration options for the YamlEncoder an associative array:: - $xmlEncoder->encode($array, 'xml', $context); + $yamlEncoder->encode($array, 'yaml', $context); These are the options available: