Skip to content

Commit a6e08b2

Browse files
committed
Minor
1 parent 23074e9 commit a6e08b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ The Serializer component provides several built-in normalizers:
851851
:class:`Symfony\\Component\\Serializer\\Normalizer\\BackedEnumNormalizer`
852852
This normalizer converts a \BackedEnum objects into strings or integers.
853853

854-
By default, it throw an exception when data is not belong to a backed enumeration. If you
854+
By default, an exception is thrown when data is not a valid backed enumeration. If you
855855
want ``null`` instead, you can set the ``BackedEnumNormalizer::ALLOW_INVALID_VALUES`` option.
856856

857857
.. versionadded:: 6.3

0 commit comments

Comments
 (0)