Issue Task Closed

#94253Switch global lang references to use constructor injection.

Larry Garfield 06/01/21, 23:12 updated 06/11/24, 19:21

Description

The language service is available through DI for constructor injection. That means the “getLangaugeService() { return $GLOBALS[‘LANG’]; } pattern is no longer necessary, as the service can imply be injected like everything else.

This is an easy conversion, just tedious.

Reviews 1