Skip to content

Commit 97b1b60

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: Fix typo
2 parents 2b0fe23 + 6373857 commit 97b1b60

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)