Skip to content

Commit 0441c7b

Browse files
authored
Fix typo
Fix typo on variable name (uppercase)
1 parent 26b76c0 commit 0441c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ works just like serializing a single object::
973973
$person2 = new Person('John Smith', 52, true);
974974

975975
$persons = [$person1, $person2];
976-
$JsonContent = $serializer->serialize($persons, 'json');
976+
$jsonContent = $serializer->serialize($persons, 'json');
977977

978978
// $jsonContent contains [{"name":"Jane Doe","age":39,"sportsman":false},{"name":"John Smith","age":52,"sportsman":true}]
979979

0 commit comments

Comments
 (0)