1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Merge pull request #1345 from zeroedin-bill/fix-crash-in-convertmapping-command

Fix crashes in ConvertMappingCommand and GenerateEntitiesCommand...
This commit is contained in:
Marco Pivetta 2015-03-23 22:35:33 +00:00
commit 34168d7085

View File

@ -311,6 +311,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
if ($metadata->discriminatorValue
|| ! $metadata->discriminatorMap
|| $metadata->isMappedSuperclass
|| ! $metadata->reflClass
|| $metadata->reflClass->isAbstract()
) {
return;