Skip to content

Commit 5b0c82c

Browse files
committed
Change returned type references in query builder documentation.
1 parent 2d0181b commit 5b0c82c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/reference/query-builder-api.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ You can execute a query by getting a ``Query`` through the ``getQuery()`` method
9898
$qb = $dm->createQueryBuilder(User::class);
9999
$query = $qb->getQuery();
100100
101-
Now you can ``execute()`` that query and it will return a cursor for you to iterate over the results:
101+
Now you can ``execute()`` that query and it will return an ``Iterator`` for you to iterate over the results:
102102

103103
.. code-block:: php
104104
@@ -193,7 +193,7 @@ method:
193193
->getQuery()
194194
->execute();
195195
196-
The above would give you an ``ArrayCollection`` of all the distinct user ages!
196+
The above would give you an array of all the distinct user ages!
197197

198198
.. note::
199199

0 commit comments

Comments
 (0)