@@ -75,7 +75,9 @@ |
||
75 | 75 | /** @throws ServiceNotFound */ |
76 | 76 | private function mustKnowAbout(string $theService) : void |
77 | 77 | { |
78 | - if ($this->has($theService)) return; |
|
78 | + if ($this->has($theService)) { |
|
79 | + return; |
|
80 | + } |
|
79 | 81 | throw ServiceNotFound::noServiceNamed($theService); |
80 | 82 | } |
81 | 83 | } |