Skip to content

Commit d0ac1e1

Browse files
committed
Removed redundant else statement
1 parent aaf99a9 commit d0ac1e1

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)