1
0
mirror of synced 2025-02-09 08:49:26 +03:00

clear code - double condition after isset

This commit is contained in:
ReenExe 2016-07-03 00:17:51 +03:00
parent 1dba0b8545
commit 99b1eaaabb

View File

@ -2203,11 +2203,11 @@ class ClassMetadataInfo implements ClassMetadata
$overrideMapping['id'] = $mapping['id'];
}
if ( ! isset($overrideMapping['type']) || $overrideMapping['type'] === null) {
if ( ! isset($overrideMapping['type'])) {
$overrideMapping['type'] = $mapping['type'];
}
if ( ! isset($overrideMapping['fieldName']) || $overrideMapping['fieldName'] === null) {
if ( ! isset($overrideMapping['fieldName'])) {
$overrideMapping['fieldName'] = $mapping['fieldName'];
}