Skip to content

Commit

Permalink
Fixed php notice in ClassMetadataFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Pennequin authored and beberlei committed Sep 25, 2011
1 parent 7f9cb95 commit 082c2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
Expand Up @@ -340,7 +340,7 @@ protected function validateRuntimeMetadata($class, $parent)
{
// Verify & complete identifier mapping
if ( ! $class->identifier && ! $class->isMappedSuperclass) {
throw MappingException::identifierRequired($className);
throw MappingException::identifierRequired($class->name);
}

// verify inheritance
Expand Down

0 comments on commit 082c2de

Please sign in to comment.