Skip to content

Commit 604bfce

Browse files
thePanzjaviereguiluz
authored andcommitted
Fix normalization format constants in serializer.rst
1 parent 2277d73 commit 604bfce

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

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

0 commit comments

Comments
 (0)