Skip to content

Commit 3003465

Browse files
author
Stanislav Idolov
authored
ENGCOM-1651: [Backport] Removed redundant else statement #15435
2 parents d645a1f + 18f3b8a commit 3003465

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
@@ -258,9 +258,8 @@ protected function _getSuperAttributeId($productId, $attributeId)
258258
{
259259
if (isset($this->_productSuperAttrs["{$productId}_{$attributeId}"])) {
260260
return $this->_productSuperAttrs["{$productId}_{$attributeId}"];
261-
} else {
262-
return null;
263261
}
262+
return null;
264263
}
265264

266265
/**

0 commit comments

Comments
 (0)