From b7de1ed115ead44dffc4c9521b788edea34adf5c Mon Sep 17 00:00:00 2001 From: beberlei Date: Thu, 25 Feb 2010 21:36:48 +0000 Subject: [PATCH] [2.0] Fixed missing parameter in MappingException::mappingFileNotFound --- lib/Doctrine/ORM/Mapping/MappingException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Mapping/MappingException.php b/lib/Doctrine/ORM/Mapping/MappingException.php index 270f22f81..650fcd010 100644 --- a/lib/Doctrine/ORM/Mapping/MappingException.php +++ b/lib/Doctrine/ORM/Mapping/MappingException.php @@ -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)