From edc2ed951253cdc8b927ac67ab55f4e72be3f9c4 Mon Sep 17 00:00:00 2001 From: Vincent Composieux Date: Fri, 15 Aug 2014 15:39:56 +0200 Subject: [PATCH] Fix QueryException::instanceOfUnrelatedClass() message --- lib/Doctrine/ORM/Query/QueryException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Query/QueryException.php b/lib/Doctrine/ORM/Query/QueryException.php index f2fb61c71..16a10856a 100644 --- a/lib/Doctrine/ORM/Query/QueryException.php +++ b/lib/Doctrine/ORM/Query/QueryException.php @@ -248,7 +248,7 @@ class QueryException extends \Doctrine\ORM\ORMException public static function instanceOfUnrelatedClass($className, $rootClass) { return new self("Cannot check if a child of '" . $rootClass . "' is instanceof '" . $className . "', " . - "inheritance hierarchy exists between these two classes."); + "inheritance hierarchy does not exists between these two classes."); } /**