From d92785811bb9ab9194872fc3a6efafea8850831b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20H=C3=A4ber?= Date: Fri, 15 May 2015 12:06:56 +0200 Subject: [PATCH] Added PHPDoc return type false of next method Because hydrateRow can return false, too. The PHPDoc return type of the next method has return false in addition to array. --- lib/Doctrine/ORM/Internal/Hydration/IterableResult.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Internal/Hydration/IterableResult.php b/lib/Doctrine/ORM/Internal/Hydration/IterableResult.php index 3bbf6724d..6c6719e00 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/IterableResult.php +++ b/lib/Doctrine/ORM/Internal/Hydration/IterableResult.php @@ -74,7 +74,7 @@ class IterableResult implements \Iterator /** * Gets the next set of results. * - * @return array + * @return array|false */ public function next() {