mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 01:25:57 +02:00
[ticket/16955] Clean up installer classes for psalm
PHPBB3-16955
This commit is contained in:
@@ -75,7 +75,7 @@ class container_factory
|
||||
*
|
||||
* @param null|string $service_name Name of the service to return
|
||||
*
|
||||
* @return \Symfony\Component\DependencyInjection\ContainerInterface|Object phpBB's dependency injection container
|
||||
* @return \Symfony\Component\DependencyInjection\ContainerInterface|object|null phpBB's dependency injection container
|
||||
* or the service specified in $service_name
|
||||
*
|
||||
* @throws cannot_build_container_exception When container cannot be built
|
||||
@@ -91,7 +91,7 @@ class container_factory
|
||||
$this->build_container();
|
||||
}
|
||||
|
||||
return ($service_name === null) ? $this->container : $this->container->get($service_name);
|
||||
return $service_name === null ? $this->container : $this->container->get($service_name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user