Skip to content

Commit 55f5510

Browse files
committed
Merge branch '5.0' into 5.1
* 5.0: Add missing "format" argument on denormalize
2 parents bc5ebc0 + 81c3950 commit 55f5510

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
@@ -1244,6 +1244,7 @@ context option::
12441244
$data = $serializer->denormalize(
12451245
['foo' => 'Hello'],
12461246
'MyObj',
1247+
null,
12471248
[AbstractNormalizer::DEFAULT_CONSTRUCTOR_ARGUMENTS => [
12481249
'MyObj' => ['foo' => '', 'bar' => ''],
12491250
]]

0 commit comments

Comments
 (0)