Task #96732
closedStreamline getLanguageService function
100%
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.
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73261
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73261
Updated by Torben Hansen almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6c3a03da124c1298264f930757546f6221704024.