Skip to content

Commit 1e189fc

Browse files
MAGETWO-86899: Fix a misspelled method name in Bundle #13187
2 parents 24be963 + 3cf577f commit 1e189fc

File tree

1 file changed

+11
-2
lines changed
  • app/code/Magento/BundleImportExport/Model/Import/Product/Type

1 file changed

+11
-2
lines changed

app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,21 @@ protected function populateSelectionTemplate($selection, $optionId, $parentId, $
318318
return $populatedSelection;
319319
}
320320

321+
/**
322+
* @deprecated Misspelled method
323+
* @see retrieveProductsByCachedSkus
324+
*/
325+
protected function retrieveProducsByCachedSkus()
326+
{
327+
return $this->retrieveProductsByCachedSkus();
328+
}
329+
321330
/**
322331
* Retrieve mapping between skus and products.
323332
*
324333
* @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType
325334
*/
326-
protected function retrieveProducsByCachedSkus()
335+
protected function retrieveProductsByCachedSkus()
327336
{
328337
$this->_cachedSkuToProducts = $this->connection->fetchPairs(
329338
$this->connection->select()->from(
@@ -368,7 +377,7 @@ public function saveData()
368377
$this->parseSelections($rowData, $productData[$this->getProductEntityLinkField()]);
369378
}
370379
if (!empty($this->_cachedOptions)) {
371-
$this->retrieveProducsByCachedSkus();
380+
$this->retrieveProductsByCachedSkus();
372381
$this->populateExistingOptions();
373382
$this->insertOptions();
374383
$this->insertSelections();

0 commit comments

Comments
 (0)