Skip to content

Commit 2d515af

Browse files
author
Stanislav Idolov
authored
ENGCOM-1650: [Backport] Removed redundant else statement #15436
2 parents fe8a459 + 233c80a commit 2d515af

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type

1 file changed

+1
-2
lines changed

app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type/Configurable.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,8 @@ protected function _getSuperAttributeId($productId, $attributeId)
246246
{
247247
if (isset($this->_productSuperAttrs["{$productId}_{$attributeId}"])) {
248248
return $this->_productSuperAttrs["{$productId}_{$attributeId}"];
249-
} else {
250-
return null;
251249
}
250+
return null;
252251
}
253252

254253
/**

0 commit comments

Comments
 (0)