Skip to content

Commit 55a55e1

Browse files
committed
minor #14695 Update normalizers.rst (Aerendir)
This PR was merged into the 5.2 branch. Discussion ---------- Update normalizers.rst It was indicated a wrong class. The class `Symfony\Component\Serializer\Normalizer\NormalizableInterface` was not mentioned in the part that tells about how to normalize an object that implements the interface. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 4f0ff7e Update normalizers.rst
2 parents 03b7438 + 4f0ff7e commit 55a55e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serializer/normalizers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Symfony includes the following normalizers but you can also
3636
transform :phpclass:`SplFileInfo` objects in `Data URIs`_
3737
* :class:`Symfony\\Component\\Serializer\\Normalizer\\CustomNormalizer` to
3838
normalize PHP object using an object that implements
39+
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizableInterface`;
3940
* :class:`Symfony\\Component\\Serializer\\Normalizer\\FormErrorNormalizer` for
4041
objects implementing the :class:`Symfony\\Component\\Form\\FormInterface` to
41-
normalize form errors.
42-
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizableInterface`;
42+
normalize form errors;
4343
* :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer` to
4444
normalize PHP object using the getter and setter methods of the object;
4545
* :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer` to

0 commit comments

Comments
 (0)