File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/code/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3061,6 +3061,7 @@ private function getValidationErrorLevel($sku): string
3061
3061
* @param array $positionAttrId
3062
3062
* @return void
3063
3063
* @throws LocalizedException
3064
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
3064
3065
*/
3065
3066
private function processLinkBunches (
3066
3067
array $ bunch ,
@@ -3149,7 +3150,8 @@ function ($linkedSku) use ($sku) {
3149
3150
* @return void
3150
3151
* @throws LocalizedException
3151
3152
*/
3152
- private function deleteProductsLinks (Link $ resource , array $ linksToDelete ) {
3153
+ private function deleteProductsLinks (Link $ resource , array $ linksToDelete )
3154
+ {
3153
3155
if (!empty ($ linksToDelete ) && Import::BEHAVIOR_APPEND === $ this ->getBehavior ()) {
3154
3156
foreach ($ linksToDelete as $ linkTypeId => $ productIds ) {
3155
3157
if (!empty ($ productIds )) {
You can’t perform that action at this time.
0 commit comments