Skip to content

Commit

Permalink
magento-engcom/import-export-improvements#42: refactor the initImages…
Browse files Browse the repository at this point in the history
…ArrayKeys to be private and remove the _ in the name
  • Loading branch information
dmanners committed Jan 16, 2018
1 parent 36a053f commit 2bbf5e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/CatalogImportExport/Model/Import/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ public function __construct(
$this->_initAttributeSets()
->_initTypeModels()
->_initSkus()
->_initImagesArrayKeys();
->initImagesArrayKeys();
$this->validator->init($this);
}

Expand Down Expand Up @@ -1092,7 +1092,7 @@ protected function _initSkus()
*
* @return $this
*/
protected function _initImagesArrayKeys()
private function initImagesArrayKeys()
{
$this->_imagesArrayKeys = $this->imageTypeProcessor->getImageTypes();
return $this;
Expand Down

0 comments on commit 2bbf5e0

Please sign in to comment.