Passed
Push — main ( dd18c2...51c6aa )
by Thierry
01:57
created
src/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.