1
0
mirror of synced 2024-12-13 14:56:01 +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.
* @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."