1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Merge pull request #85 from FabienPennequin/fix_ClassMetadataFactory

Fixed php notice in ClassMetadataFactory
This commit is contained in:
Guilherme Blanco 2011-07-21 10:02:15 -07:00
commit 4be7c3dac0

View File

@ -340,7 +340,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
{
// Verify & complete identifier mapping
if ( ! $class->identifier && ! $class->isMappedSuperclass) {
throw MappingException::identifierRequired($className);
throw MappingException::identifierRequired($class->name);
}
// verify inheritance