Code Duplication    Length = 7-7 lines in 2 locations

typo3/sysext/impexp/Classes/Import.php 2 locations

@@ 1237-1243 (lines=7) @@
1234
            $valArray = $this->setRelations_db($config['flexFormRels']['db'][$path], $dsConf);
1235
            $dataValue = implode(',', $valArray);
1236
        }
1237
        if (is_array($config['flexFormRels']['file'][$path])) {
1238
            $valArr = [];
1239
            foreach ($config['flexFormRels']['file'][$path] as $fI) {
1240
                $valArr[] = $this->import_addFileNameToBeCopied($fI);
1241
            }
1242
            $dataValue = implode(',', $valArr);
1243
        }
1244
        return ['value' => $dataValue];
1245
    }
1246
@@ 1014-1020 (lines=7) @@
1011
                                }
1012
                                break;
1013
                            case 'file':
1014
                                if (is_array($config['newValueFiles']) && !empty($config['newValueFiles'])) {
1015
                                    $valArr = [];
1016
                                    foreach ($config['newValueFiles'] as $fI) {
1017
                                        $valArr[] = $this->import_addFileNameToBeCopied($fI);
1018
                                    }
1019
                                    $updateData[$table][$thisNewUid][$field] = implode(',', $valArr);
1020
                                }
1021
                                break;
1022
                        }
1023
                    }