Skip to content

Commit 1b6b913

Browse files
committed
MAGETWO-91544: Updated url keys of product after import produce 404 error
- Fix static tests
1 parent 5da1c35 commit 1b6b913

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity
785785
* @param DateTimeFactory $dateTimeFactory
786786
* @param ProductRepositoryInterface|null $productRepository
787787
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
788+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
788789
*/
789790
public function __construct(
790791
\Magento\Framework\Json\Helper\Data $jsonHelper,
@@ -2939,7 +2940,7 @@ private function formatStockDataForRow(array $rowData): array
29392940
/**
29402941
* Retrieve product by sku.
29412942
*
2942-
* @param $sku
2943+
* @param string $sku
29432944
* @return \Magento\Catalog\Api\Data\ProductInterface|null
29442945
*/
29452946
private function retrieveProductBySku($sku)

0 commit comments

Comments
 (0)