1
0
mirror of synced 2025-01-06 17:17:10 +03:00

[2.0][DDC-387] Fixed wrong variable name in MappingException. Thanks Christian for report

This commit is contained in:
guilhermeblanco 2010-03-03 01:38:21 +00:00
parent 4ac39f0cbd
commit 0cbc9aa672

View File

@ -179,7 +179,7 @@ class MappingException extends \Doctrine\ORM\ORMException
* @param string $owningClass The class that declares the discriminator map. * @param string $owningClass The class that declares the discriminator map.
* @return self * @return self
*/ */
public static function invalidClassInDiscriminatorMap($invalidClass, $owningClass) { public static function invalidClassInDiscriminatorMap($className, $owningClass) {
return new self( return new self(
"Entity class '$className' used in the discriminator map of class '$owningClass' ". "Entity class '$className' used in the discriminator map of class '$owningClass' ".
"does not exist." "does not exist."