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