Skip to content

Commit 0efb8aa

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: Fix normalization format constants in serializer.rst
2 parents 10c0d99 + 3e4ebb5 commit 0efb8aa

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
@@ -1353,8 +1353,8 @@ normalizers (in order of priority):
13531353
The default normalization format for objects that implement :class:`Symfony\\Component\\Uid\\Ulid`
13541354
is the Base 32 format (example: ``01E439TP9XJZ9RPFH3T1PYBCR8``).
13551355
You can change the string format by setting the serializer context option
1356-
``UidNormalizer::NORMALIZATION_FORMAT_KEY`` to ``UidNormalizer::NORMALIZATION_FORMAT_BASE_58``,
1357-
``UidNormalizer::NORMALIZATION_FORMAT_BASE_32`` or ``UidNormalizer::NORMALIZATION_FORMAT_RFC_4122``.
1356+
``UidNormalizer::NORMALIZATION_FORMAT_KEY`` to ``UidNormalizer::NORMALIZATION_FORMAT_BASE58``,
1357+
``UidNormalizer::NORMALIZATION_FORMAT_BASE32`` or ``UidNormalizer::NORMALIZATION_FORMAT_RFC4122``.
13581358

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

0 commit comments

Comments
 (0)