@@ -33,19 +33,25 @@ |
||
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 |