Commit 822a366
committed
bug #21574 [Serializer] Add missing json parameter (javenlalla)
This PR was merged into the 6.4 branch.
Discussion
----------
[Serializer] Add missing json parameter
Hello!
In the `Deserializing Input Partially (Unwrapping)` section of the `Serializer` documentation, the code sample is missing the `'json'` format specifier as the third argument when calling `deserialize`.
This commit adds the missing format value into the function call of the code sample.
Function signature: https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/Serializer/Serializer.php#L146
Page: https://symfony.com/doc/6.4/serializer.html#deserializing-input-partially-unwrapping
Thanks!
Commits
-------
df65e9f [Serializer] Add missing json parameter1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2097 | 2097 | | |
2098 | 2098 | | |
2099 | 2099 | | |
2100 | | - | |
| 2100 | + | |
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
| |||
0 commit comments