Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/core/Classes/Migrations/TcaMigration.php 2 locations

@@ 1380-1382 (lines=3) @@
1377
                            foreach ($fieldConfig['config']['wizards'] as $wizardName => $wizardConfig) {
1378
                                if (isset($wizardConfig['type']) && $wizardConfig['type'] === 'slider') {
1379
                                    $fieldConfig['config']['slider'] = [];
1380
                                    if (isset($wizardConfig['width'])) {
1381
                                        $fieldConfig['config']['slider']['width'] = $wizardConfig['width'];
1382
                                    }
1383
                                    if (isset($wizardConfig['step'])) {
1384
                                        $fieldConfig['config']['slider']['step'] = $wizardConfig['step'];
1385
                                    }
@@ 1383-1385 (lines=3) @@
1380
                                    if (isset($wizardConfig['width'])) {
1381
                                        $fieldConfig['config']['slider']['width'] = $wizardConfig['width'];
1382
                                    }
1383
                                    if (isset($wizardConfig['step'])) {
1384
                                        $fieldConfig['config']['slider']['step'] = $wizardConfig['step'];
1385
                                    }
1386
                                    unset($fieldConfig['config']['wizards'][$wizardName]);
1387
                                    $this->messages[] = 'The slider wizard in TCA '
1388
                                        . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'wizards\'][\'' . $wizardName . '\']'