Issue Task Closed

#59004Code Cleanups in TranslationConfigurationProvider

Sebastian Michaelsen 05/21/14, 16:47 updated 10/02/18, 11:55

Description

\TYPO3\CMS\Backend\Configuration\TranslationConfigurationProvider could use a few cleanups:

  • Introduce type hinted $this->databaseConnection instead of using $GLOBALS[‘TYPO3_DB’]
  • Use type hinted local variable instead of $GLOBALS[‘LANG’]
  • Deprecate $backPath parameter of ->getSystemLanguages and adapt the method calls
  • Break very long lines of code into smaller chunks
  • Fix phpDoc issue

Reviews 1