From c5c56a9dad69d138057c1e1707390dec6c241912 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 8 Sep 2016 00:55:49 +0200 Subject: [PATCH] #6003 clarifying thrown exception --- lib/Doctrine/ORM/EntityRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/EntityRepository.php b/lib/Doctrine/ORM/EntityRepository.php index 85dd63c6e..0c2823757 100644 --- a/lib/Doctrine/ORM/EntityRepository.php +++ b/lib/Doctrine/ORM/EntityRepository.php @@ -295,7 +295,7 @@ class EntityRepository implements ObjectRepository, Selectable * @param string $by The property name used as condition * @param array $arguments The arguments to pass at method call * - * @throws ORMException If the method called is invalid. + * @throws ORMException If the method called is invalid or the requested field/association does not exist * * @return mixed */