Skip to content

Commit 70d09a3

Browse files
authored
Add missing "format" argument on denormalize
1 parent 8cb2e35 commit 70d09a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/serializer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,6 +1289,7 @@ context option::
12891289
$data = $serializer->denormalize(
12901290
['foo' => 'Hello'],
12911291
'MyObj',
1292+
null,
12921293
[AbstractNormalizer::DEFAULT_CONSTRUCTOR_ARGUMENTS => [
12931294
'MyObj' => ['foo' => '', 'bar' => ''],
12941295
]]

0 commit comments

Comments
 (0)