Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 995-997 (lines=3) @@
992
        if (empty($key)) {
993
            throw new \RuntimeException('No extension key set in addLLrefForTCAdescr(). Provide it as third parameter', 1507321596);
994
        }
995
        if (!is_array($GLOBALS['TCA_DESCR'][$key] ?? false)) {
996
            $GLOBALS['TCA_DESCR'][$key] = [];
997
        }
998
        if (!is_array($GLOBALS['TCA_DESCR'][$key]['refs'] ?? false)) {
999
            $GLOBALS['TCA_DESCR'][$key]['refs'] = [];
1000
        }
@@ 998-1000 (lines=3) @@
995
        if (!is_array($GLOBALS['TCA_DESCR'][$key] ?? false)) {
996
            $GLOBALS['TCA_DESCR'][$key] = [];
997
        }
998
        if (!is_array($GLOBALS['TCA_DESCR'][$key]['refs'] ?? false)) {
999
            $GLOBALS['TCA_DESCR'][$key]['refs'] = [];
1000
        }
1001
        $GLOBALS['TCA_DESCR'][$key]['refs'][] = $file;
1002
    }
1003