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 5952dd3

Browse filesBrowse files
Changed text to mention one Product object instead of many
The getOneOrNullResult will not return multiple results.
1 parent e70e474 commit 5952dd3
Copy full SHA for 5952dd3

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.