From 5e6ec8ebf37b4fd4054be5deb13f589b2cbb9f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Luk=C3=A1=C4=8D?= Date: Tue, 20 Jan 2015 17:21:43 +0100 Subject: [PATCH] Incorrect @throws doc. in getSingleScalarResult --- lib/Doctrine/ORM/AbstractQuery.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/AbstractQuery.php b/lib/Doctrine/ORM/AbstractQuery.php index 8108d558b..f51924ca1 100644 --- a/lib/Doctrine/ORM/AbstractQuery.php +++ b/lib/Doctrine/ORM/AbstractQuery.php @@ -825,7 +825,8 @@ abstract class AbstractQuery * * @return mixed * - * @throws QueryException If the query result is not unique. + * @throws NonUniqueResultException If the query result is not unique. + * @throws NoResultException If the query returned no result. */ public function getSingleScalarResult() {