#96732Streamline getLanguageService function
Description
Many classes in TYPO3 have a function called getLanguageService() which returns $GLOBALS['LANG'] and where nullable $GLOBALS['LANG'] ?? null. Some of those functions use a PHP return type, others do not. Some have a doc comment block, other do not. And in some rare cases, getLanguageService() gets overridden in subclasses with exactly the same functionality.