|string $serviceName * @psalm-return ($serviceName is class-string ? T : mixed) * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @since 25.0.0 */ public static function get(string $serviceName) { /** @psalm-suppress UndefinedClass */ return \OC::$server->get($serviceName); } }