Passed
Push — main ( 146da0...02e199 )
by Thierry
09:03
created
src/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     private function getService(string $serviceId)
36 36
     {
37
-        if($this->container->has($serviceId))
37
+        if ($this->container->has($serviceId))
38 38
         {
39 39
             // A public service will be found in the container.
40 40
             return $this->container->get($serviceId);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $locator = $this->container->get('lagdo.facades.service_locator',
47 47
             ContainerInterface::NULL_ON_INVALID_REFERENCE);
48 48
         // If not found in the container, then look in the service locator.
49
-        if($locator !== null && $locator->has($serviceId))
49
+        if ($locator !== null && $locator->has($serviceId))
50 50
         {
51 51
             return $locator->get($serviceId);
52 52
         }
Please login to merge, or discard this patch.