Passed
Push — main ( 8323f1...dd18c2 )
by Thierry
02:18
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.
src/AbstractFacade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.