fix empty expression on PHP 5.4
This commit is contained in:
parent
9c5cea3e95
commit
e0cb90d426
1 changed files with 3 additions and 1 deletions
|
@ -185,7 +185,9 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
|
|||
$this->addNestedEmbeddedClasses($embeddableMetadata, $class, $property);
|
||||
}
|
||||
|
||||
if (! empty($embeddableMetadata->getIdentifier())) {
|
||||
$identifier = $embeddableMetadata->getIdentifier();
|
||||
|
||||
if (! empty($identifier)) {
|
||||
$this->inheritIdGeneratorMapping($class, $embeddableMetadata);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue