[2.0][DDC-387] Fixed wrong variable name in MappingException. Thanks Christian for report
This commit is contained in:
parent
4ac39f0cbd
commit
0cbc9aa672
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user