Skip to content

Commit 01a3d98

Browse files
committed
ACP2E-1754: Store level URL rewrites are removed after product import
1 parent 13d27fa commit 01a3d98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
/**
4444
* @SuppressWarnings(PHPMD.TooManyFields)
4545
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
46+
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
4647
*/
4748
class AfterImportDataObserver implements ObserverInterface
4849
{
@@ -501,7 +502,7 @@ private function initializeCacheForProducts(array $products) : void
501502
* @param int $productId
502503
* @param int $storeId
503504
* @param Product $product
504-
* @pram Category|null $category
505+
* @param Category|null $category
505506
* @return string
506507
*/
507508
private function getReqPath(int $productId, int $storeId, Product $product, ?Category $category = null) : string

0 commit comments

Comments
 (0)