@@ -27,7 +27,7 @@ |
||
| 27 | 27 | public static function getService(string $serviceId) |
| 28 | 28 | { |
| 29 | 29 | $service = self::$container->get($serviceId, ContainerInterface::NULL_ON_INVALID_REFERENCE); |
| 30 | - if($service === null && self::$locator !== null && self::$locator->has($serviceId)) |
|
| 30 | + if ($service === null && self::$locator !== null && self::$locator->has($serviceId)) |
|
| 31 | 31 | { |
| 32 | 32 | $service = self::$locator->get($serviceId); |
| 33 | 33 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public static function __callStatic($method, $arguments) |
| 28 | 28 | { |
| 29 | - if(static::$service === null) |
|
| 29 | + if (static::$service === null) |
|
| 30 | 30 | { |
| 31 | 31 | static::$service = Container::getService(static::getServiceIdentifier()); |
| 32 | 32 | } |