Passed
Push — main ( 70477e...e06c77 )
by Thierry
02:21
created
src/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,11 +51,11 @@
 block discarded – undo
51 51
      */
52 52
     public function getService(string $serviceId)
53 53
     {
54
-        if(($service = $this->get($serviceId)) !== null)
54
+        if (($service = $this->get($serviceId)) !== null)
55 55
         {
56 56
             return $service;
57 57
         }
58
-        if(($locator = $this->locator()) !== null && $locator->has($serviceId))
58
+        if (($locator = $this->locator()) !== null && $locator->has($serviceId))
59 59
         {
60 60
             return $locator->get($serviceId);
61 61
         }
Please login to merge, or discard this patch.