From 09bb042d326305318214504f68ce24c451944fb3 Mon Sep 17 00:00:00 2001 From: Victor Dittiere Date: Thu, 3 Jul 2025 14:54:04 +0200 Subject: [PATCH] Update encoders.rst Fix classname comment in `Creating a Custom Encoder` section --- serializer/encoders.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializer/encoders.rst b/serializer/encoders.rst index d2cf1f9cab8..8238d4d057d 100644 --- a/serializer/encoders.rst +++ b/serializer/encoders.rst @@ -271,7 +271,7 @@ Creating a Custom Encoder Imagine you want to serialize and deserialize `NEON`_. For that you'll have to create your own encoder:: - // src/Serializer/YamlEncoder.php + // src/Serializer/NeonEncoder.php namespace App\Serializer; use Nette\Neon\Neon;