From 5687347d608654a5089735c1289c057c355b34ad Mon Sep 17 00:00:00 2001 From: Damien Gavard Date: Sun, 6 Sep 2015 21:45:51 +0200 Subject: [PATCH] Fix invalid return type documentation --- lib/Doctrine/ORM/AbstractQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/AbstractQuery.php b/lib/Doctrine/ORM/AbstractQuery.php index 9612a0c58..0e38daed0 100644 --- a/lib/Doctrine/ORM/AbstractQuery.php +++ b/lib/Doctrine/ORM/AbstractQuery.php @@ -215,7 +215,7 @@ abstract class AbstractQuery /** * Obtain the name of the second level query cache region in which query results will be stored * - * @return The cache region name; NULL indicates the default region. + * @return string|null The cache region name; NULL indicates the default region. */ public function getCacheRegion() { @@ -398,7 +398,7 @@ abstract class AbstractQuery * * @param mixed $value * - * @return array + * @return array|string * * @throws \Doctrine\ORM\ORMInvalidArgumentException */