diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index 044319e74..089780775 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -74,7 +74,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory * {@inheritDoc} */ protected function loadMetadata($name) -`` { + { $loaded = parent::loadMetadata($name); array_map([$this, 'resolveDiscriminatorValue'], array_map([$this, 'getMetadataFor'], $loaded));