From 2d3610521374525bb5b1f0b5464997be912adfe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Thu, 12 Aug 2021 10:46:20 +0200 Subject: [PATCH] [Serializer] Fixed context key beacause of code update --- serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializer.rst b/serializer.rst index 2931a361493..92250d2f5a9 100644 --- a/serializer.rst +++ b/serializer.rst @@ -162,7 +162,7 @@ resources. This context is passed to all normalizers. For example: .. versionadded:: 5.4 - The usage of the ``empty_arrays_as_object`` option by default in the + The usage of the ``empty_array_as_object`` option by default in the Serializer was introduced in Symfony 5.4. You can pass the context like following::