From 0cbc9aa672b16676ce1d21fe098e65222341aa9e Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Wed, 3 Mar 2010 01:38:21 +0000 Subject: [PATCH] [2.0][DDC-387] Fixed wrong variable name in MappingException. Thanks Christian for report --- lib/Doctrine/ORM/Mapping/MappingException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/MappingException.php b/lib/Doctrine/ORM/Mapping/MappingException.php index 650fcd010..82e408a72 100644 --- a/lib/Doctrine/ORM/Mapping/MappingException.php +++ b/lib/Doctrine/ORM/Mapping/MappingException.php @@ -179,7 +179,7 @@ class MappingException extends \Doctrine\ORM\ORMException * @param string $owningClass The class that declares the discriminator map. * @return self */ - public static function invalidClassInDiscriminatorMap($invalidClass, $owningClass) { + public static function invalidClassInDiscriminatorMap($className, $owningClass) { return new self( "Entity class '$className' used in the discriminator map of class '$owningClass' ". "does not exist."