Skip to content

Commit 9f31bbb

Browse files
committed
Fix not precise enough sentence
1 parent b0d3fe8 commit 9f31bbb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/serializer.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,9 @@ Handling Constructor Arguments
10931093
------------------------------
10941094

10951095
If the constructor of a class defines arguments, as usually happens with
1096-
`Value Objects`_, the serializer won't be able to create the object. In those
1097-
cases, use the ``default_constructor_arguments`` context option::
1096+
`Value Objects`_, the serializer won't be able to create the object if some
1097+
arguments are missing. In those cases, use the ``default_constructor_arguments``
1098+
context option::
10981099

10991100
use Symfony\Component\Serializer\Serializer;
11001101
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;

0 commit comments

Comments
 (0)