Skip to content

Commit 2bbf5e0

Browse files
committed
magento-engcom/import-export-improvements#42: refactor the initImagesArrayKeys to be private and remove the _ in the name
1 parent 36a053f commit 2bbf5e0

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/CatalogImportExport/Model/Import

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ public function __construct(
844844
$this->_initAttributeSets()
845845
->_initTypeModels()
846846
->_initSkus()
847-
->_initImagesArrayKeys();
847+
->initImagesArrayKeys();
848848
$this->validator->init($this);
849849
}
850850

@@ -1092,7 +1092,7 @@ protected function _initSkus()
10921092
*
10931093
* @return $this
10941094
*/
1095-
protected function _initImagesArrayKeys()
1095+
private function initImagesArrayKeys()
10961096
{
10971097
$this->_imagesArrayKeys = $this->imageTypeProcessor->getImageTypes();
10981098
return $this;

0 commit comments

Comments
 (0)