Passed
Push — master ( d21945...937685 )
by Korotkov
02:09 queued 11s
created
src/Rudra.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,19 +32,25 @@
 block discarded – undo
32 32
 
33 33
     protected function binding(): ContainerInterface
34 34
     {
35
-        if ($this->has("binding")) return $this->get("binding");
35
+        if ($this->has("binding")) {
36
+            return $this->get("binding");
37
+        }
36 38
         throw new \InvalidArgumentException("Service not preinstalled");
37 39
     }
38 40
 
39 41
     protected function services(): ContainerInterface
40 42
     {
41
-        if ($this->has("services")) return $this->get("services");
43
+        if ($this->has("services")) {
44
+            return $this->get("services");
45
+        }
42 46
         throw new \InvalidArgumentException("Service not preinstalled");
43 47
     }
44 48
     
45 49
     protected function config(): ContainerInterface
46 50
     {
47
-        if ($this->has("config")) return $this->get("config");
51
+        if ($this->has("config")) {
52
+            return $this->get("config");
53
+        }
48 54
         throw new \InvalidArgumentException("Service not preinstalled");
49 55
     }
50 56
 
Please login to merge, or discard this patch.