Code Duplication    Length = 4-4 lines in 2 locations

src/Eccube/Controller/Admin/Product/CsvImportController.php 2 locations

@@ 123-126 (lines=4) @@
120
                                    $this->addErrors(($data->key() + 1) . '行目の商品IDが存在しません。');
121
                                    return $this->render($app, $form, $headers, $this->productTwig);
122
                                }
123
                            } else {
124
                                $this->addErrors(($data->key() + 1) . '行目の商品IDが存在しません。');
125
                                return $this->render($app, $form, $headers, $this->productTwig);
126
                            }
127
128
                        }
129
@@ 187-190 (lines=4) @@
184
                        } else {
185
                            if ($row['商品削除フラグ'] == (string)Constant::DISABLED || $row['商品削除フラグ'] == (string)Constant::ENABLED) {
186
                                $Product->setDelFlg($row['商品削除フラグ']);
187
                            } else {
188
                                $this->addErrors(($data->key() + 1) . '行目の商品削除フラグが設定されていません。');
189
                                return $this->render($app, $form, $headers, $this->productTwig);
190
                            }
191
                        }
192
193
                        // 商品画像登録