Commit b7de1ed1 authored by beberlei's avatar beberlei

[2.0] Fixed missing parameter in MappingException::mappingFileNotFound

parent bbda52a4
......@@ -59,9 +59,9 @@ class MappingException extends \Doctrine\ORM\ORMException
return new self("The association mapping '$fieldName' misses the 'sourceEntity' attribute.");
}
public static function mappingFileNotFound($fileName)
public static function mappingFileNotFound($entityName, $fileName)
{
return new self("No mapping file found named '$fileName'.");
return new self("No mapping file found named '$fileName' for class '$entityName'.");
}
public static function mappingNotFound($fieldName)
......
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