Code Duplication    Length = 4-4 lines in 2 locations

typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php 2 locations

@@ 526-529 (lines=4) @@
523
                    }
524
                    array_splice($GLOBALS['TCA'][$table]['columns'][$field]['config']['items'], $offset, 0, [0 => $item]);
525
                }
526
            } else {
527
                // Insert at new item at the end of the array if relative position was not found
528
                $GLOBALS['TCA'][$table]['columns'][$field]['config']['items'][] = $item;
529
            }
530
        } else {
531
            // Insert at new item at the end of the array
532
            $GLOBALS['TCA'][$table]['columns'][$field]['config']['items'][] = $item;
@@ 530-533 (lines=4) @@
527
                // Insert at new item at the end of the array if relative position was not found
528
                $GLOBALS['TCA'][$table]['columns'][$field]['config']['items'][] = $item;
529
            }
530
        } else {
531
            // Insert at new item at the end of the array
532
            $GLOBALS['TCA'][$table]['columns'][$field]['config']['items'][] = $item;
533
        }
534
    }
535
536
    /**