Skip to content

Commit 3b24418

Browse files
Update components/serializer.rst
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent e1f5d7c commit 3b24418

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/serializer.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,8 @@ By default, the Serializer will add ``null`` to nullable properties when the par
12491249
You can change this behavior by setting the ``AbstractNormalizer::PREVENT_NULLABLE_FALLBACK`` context option
12501250
to ``true``::
12511251

1252-
class Dummy {
1252+
class Dummy
1253+
{
12531254
public function __construct(
12541255
public string $foo,
12551256
public ?string $bar,

0 commit comments

Comments
 (0)