Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Fixed miss called property in getStoreIdByCode method #143

Merged
merged 2 commits into from
Nov 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

/**
* Class Bundle
*
* @package Magento\BundleImportExport\Model\Import\Product\Type
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
*/
Expand Down Expand Up @@ -349,6 +350,8 @@ protected function populateSelectionTemplate($selection, $optionId, $parentId, $
}

/**
* Deprecated method for retrieving mapping between skus and products.
*
* @deprecated Misspelled method
* @see retrieveProductsByCachedSkus
*/
Expand Down Expand Up @@ -600,6 +603,7 @@ protected function insertOptions()

/**
* Populate array for insert option values
*
* @param array $optionIds
* @return array
*/
Expand Down Expand Up @@ -779,7 +783,7 @@ protected function clear()
*/
private function getStoreIdByCode(string $storeCode): int
{
if (!isset($this->storeIdToCode[$storeCode])) {
if (!isset($this->storeCodeToId[$storeCode])) {
/** @var $store \Magento\Store\Model\Store */
foreach ($this->storeManager->getStores() as $store) {
$this->storeCodeToId[$store->getCode()] = $store->getId();
Expand Down