1
0
Fork 0
mirror of synced 2025-03-29 03:09:50 +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 // Verify & complete identifier mapping
if ( ! $class->identifier && ! $class->isMappedSuperclass) { if ( ! $class->identifier && ! $class->isMappedSuperclass) {
throw MappingException::identifierRequired($className); throw MappingException::identifierRequired($class->name);
} }
// verify inheritance // verify inheritance