Skip to content

Commit 5952dd3

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

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)