Actions
Task #96732
closedStreamline getLanguageService function
Start date:
2022-02-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
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.
Actions