1
0
mirror of synced 2025-01-10 02:57:10 +03:00

Merge pull request #1111 from eko/master

Fix inheritance hierarchy wrong exception message
This commit is contained in:
Marco Pivetta 2014-08-15 16:13:33 +02:00
commit 5ff67c92ee

View File

@ -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.");
}
/**