Commit 0cbc9aa6 authored by guilhermeblanco's avatar guilhermeblanco

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

parent 4ac39f0c
......@@ -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."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment