1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Fixed php notice in ClassMetadataFactory

This commit is contained in:
Fabien Pennequin 2011-07-17 19:39:55 +02:00
parent 180dbbad8b
commit 99bdf65c10

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