Skip to content

Commit 28eefe2

Browse files
committed
[#4299] Very minor language tweak
1 parent bd85865 commit 28eefe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/serializer.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Circular references are common when dealing with entity relations::
301301

302302
To avoid infinite loops, :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer`
303303
throws a :class:`Symfony\\Component\\Serializer\\Exception\\CircularReferenceException`
304-
when such case is encountered::
304+
when such a case is encountered::
305305

306306
$member = new Member();
307307
$member->setName('Kévin');
@@ -315,8 +315,8 @@ when such case is encountered::
315315
echo $serializer->serialize($org, 'json'); // Throws a CircularReferenceException
316316

317317
The ``setCircularReferenceLimit()`` method of this normalizer sets the number
318-
of times serializing the same object must occur before considering being
319-
in a circular reference. Its default value is ``1``.
318+
of times it will serialize the same object before considering it a circular
319+
reference. Its default value is ``1``.
320320

321321
Instead of throwing an exception, circular references can also be handled
322322
by custom callables. This is especially useful when serializing entities

0 commit comments

Comments
 (0)