From eb62ae59335f5409a8980d67e1d13e0f482c10b5 Mon Sep 17 00:00:00 2001 From: giginos Date: Fri, 12 Aug 2016 16:26:08 +0200 Subject: [PATCH] Wrong return type of getResult() @see https://github.com/doctrine/doctrine2/issues/5971 --- lib/Doctrine/ORM/AbstractQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/AbstractQuery.php b/lib/Doctrine/ORM/AbstractQuery.php index 0b2b0663c09..581a99c429a 100644 --- a/lib/Doctrine/ORM/AbstractQuery.php +++ b/lib/Doctrine/ORM/AbstractQuery.php @@ -718,7 +718,7 @@ public function getHydrationMode() * * @param int $hydrationMode * - * @return array + * @return mixed */ public function getResult($hydrationMode = self::HYDRATE_OBJECT) {