Skip to content

Commit ba6c4ed

Browse files
authored
Fix normalization format constants in serializer.rst
1 parent db3c403 commit ba6c4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,8 +1357,8 @@ normalizers (in order of priority):
13571357
The default normalization format for objects that implement :class:`Symfony\\Component\\Uid\\Ulid`
13581358
is the Base 32 format (example: ``01E439TP9XJZ9RPFH3T1PYBCR8``).
13591359
You can change the string format by setting the serializer context option
1360-
``UidNormalizer::NORMALIZATION_FORMAT_KEY`` to ``UidNormalizer::NORMALIZATION_FORMAT_BASE_58``,
1361-
``UidNormalizer::NORMALIZATION_FORMAT_BASE_32`` or ``UidNormalizer::NORMALIZATION_FORMAT_RFC_4122``.
1360+
``UidNormalizer::NORMALIZATION_FORMAT_KEY`` to ``UidNormalizer::NORMALIZATION_FORMAT_BASE58``,
1361+
``UidNormalizer::NORMALIZATION_FORMAT_BASE32`` or ``UidNormalizer::NORMALIZATION_FORMAT_RFC4122``.
13621362

13631363
Also it can denormalize ``uuid`` or ``ulid`` strings to :class:`Symfony\\Component\\Uid\\Uuid`
13641364
or :class:`Symfony\\Component\\Uid\\Ulid`. The format does not matter.

0 commit comments

Comments
 (0)