Skip to content

Commit 30816b9

Browse files
committed
minor #20972 Changed text to mention one Product object instead of many (pjotrsavitski)
This PR was merged into the 6.4 branch. Discussion ---------- Changed text to mention one Product object instead of many The getOneOrNullResult will not return multiple results. Commits ------- 5952dd3 Changed text to mention one Product object instead of many
2 parents 1b90004 + 5952dd3 commit 30816b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/associations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ following method to the ``ProductRepository`` class::
501501
}
502502
}
503503

504-
This will *still* return an array of ``Product`` objects. But now, when you call
504+
This will *still* return a ``Product`` object. But now, when you call
505505
``$product->getCategory()`` and use that data, no second query is made.
506506

507507
Now, you can use this method in your controller to query for a ``Product``

0 commit comments

Comments
 (0)