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