Skip to content

Commit 18f3b8a

Browse files
ENGCOM-1651: [Backport] Removed redundant else statement #15435
- Merge Pull Request #15435 from rogyar/magento2:2.2-configurable-redundant-else - Merged commits: 1. d0ac1e1
2 parents 67b5fe7 + d0ac1e1 commit 18f3b8a

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)