Skip to content

Commit 117c0ae

Browse files
committed
just nullable
1 parent f1c7127 commit 117c0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/serializer.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ having unique identifiers::
14861486

14871487
$encoder = new JsonEncoder();
14881488
$defaultContext = [
1489-
AbstractNormalizer::CIRCULAR_REFERENCE_HANDLER => function (object $object, string $format, array $context): string {
1489+
AbstractNormalizer::CIRCULAR_REFERENCE_HANDLER => function (object $object, ?string $format, array $context): string {
14901490
return $object->getName();
14911491
},
14921492
];

0 commit comments

Comments
 (0)