Skip to content

Commit f0e7777

Browse files
committed
minor #14257 Update serializer.rst (erop)
This PR was merged into the 5.1 branch. Discussion ---------- Update serializer.rst IMHO using "format" in current edition confuses readers with $format parameter next to $type Commits ------- c0a2ef5 Update serializer.rst
2 parents 3f01553 + c0a2ef5 commit f0e7777

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)