Skip to content

Commit c0a2ef5

Browse files
authored
Update serializer.rst
IMHO using "format" in current edition confuses readers with $format parameter next to $type
1 parent 51aa10d commit c0a2ef5

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
@@ -70,7 +70,7 @@ As well as the following normalizers:
7070
* :class:`Symfony\\Component\\Serializer\\Normalizer\\JsonSerializableNormalizer`
7171
to deal with objects implementing the :phpclass:`JsonSerializable` interface
7272
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ArrayDenormalizer` to
73-
denormalize arrays of objects using a format like `MyObject[]` (note the `[]` suffix)
73+
denormalize arrays of objects using for a `$type` parameter string in `MyObject[]` format (note the `[]` suffix)
7474
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
7575
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
7676

0 commit comments

Comments
 (0)