Merge pull request #85 from FabienPennequin/fix_ClassMetadataFactory
Fixed php notice in ClassMetadataFactory
This commit is contained in:
commit
4be7c3dac0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue