Skip to content

Navigation Menu

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 30816b9

Browse filesBrowse 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
Copy full SHA for 30816b9

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎doctrine/associations.rst

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