Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28eefe2

Browse filesBrowse files
committed
[#4299] Very minor language tweak
1 parent bd85865 commit 28eefe2
Copy full SHA for 28eefe2

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.