From 91c826ddbff69268ce395139729ecbab082515d9 Mon Sep 17 00:00:00 2001 From: $!m0n Date: Mon, 15 Sep 2025 09:47:51 +0200 Subject: [PATCH] Fix typo Fix typo on variable name (uppercase) --- serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializer.rst b/serializer.rst index d0dc2aea95c..b30b5caf2e2 100644 --- a/serializer.rst +++ b/serializer.rst @@ -948,7 +948,7 @@ works just like serializing a single object:: $person2 = new Person('John Smith', 52, true); $persons = [$person1, $person2]; - $JsonContent = $serializer->serialize($persons, 'json'); + $jsonContent = $serializer->serialize($persons, 'json'); // $jsonContent contains [{"name":"Jane Doe","age":39,"sportsman":false},{"name":"John Smith","age":52,"sportsman":true}]