@@ -795,7 +795,7 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity
795
795
* @param StockItemImporterInterface|null $stockItemImporter
796
796
* @param DateTimeFactory $dateTimeFactory
797
797
* @param ProductRepositoryInterface|null $productRepository
798
- * @oaram LinkProcessor|null $linkProcessor
798
+ * @param LinkProcessor|null $linkProcessor
799
799
* @throws LocalizedException
800
800
* @throws \Magento\Framework\Exception\FileSystemException
801
801
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
@@ -1496,14 +1496,19 @@ public function getImagesFromRow(array $rowData)
1496
1496
return [$ images , $ labels ];
1497
1497
}
1498
1498
1499
+ // phpcs:disable Generic.Metrics.NestingLevel
1500
+
1499
1501
/**
1500
1502
* Gather and save information about product entities.
1501
1503
*
1504
+ * FIXME: Reduce nesting level
1505
+ *
1502
1506
* @return $this
1503
1507
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
1504
1508
* @SuppressWarnings(PHPMD.NPathComplexity)
1505
1509
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1506
1510
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
1511
+ * @SuppressWarnings(PHPMD.UnusedLocalVariable)
1507
1512
* @throws LocalizedException
1508
1513
*/
1509
1514
protected function _saveProducts ()
@@ -1880,6 +1885,8 @@ protected function _saveProducts()
1880
1885
return $ this ;
1881
1886
}
1882
1887
1888
+ // phpcs:enable
1889
+
1883
1890
/**
1884
1891
* Prepare array with image states (visible or hidden from product page)
1885
1892
*
0 commit comments