Remove phpstan errors from the rest of the code
[MAILPOET-3235]
This commit is contained in:
@ -373,6 +373,9 @@ class ContainerConfigurator implements IContainerConfigurator {
|
||||
}
|
||||
|
||||
public static function getPremiumService($id, ContainerInterface $container = null) {
|
||||
if ($container === null) {
|
||||
return null;
|
||||
}
|
||||
if (!$container->has(IContainerConfigurator::PREMIUM_CONTAINER_SERVICE_SLUG)) {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user