[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.
|
* @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."
|
||||||
|
Loading…
Reference in New Issue
Block a user