@@ -156,8 +156,9 @@ |
||
| 156 | 156 | */ |
| 157 | 157 | protected function credentials() |
| 158 | 158 | { |
| 159 | - if (isset($this->credentials)) |
|
| 160 | - return $this->credentials; |
|
| 159 | + if (isset($this->credentials)) { |
|
| 160 | + return $this->credentials; |
|
| 161 | + } |
|
| 161 | 162 | throw new CredentialsException; |
| 162 | 163 | } |
| 163 | 164 | |
@@ -169,7 +169,9 @@ |
||
| 169 | 169 | */ |
| 170 | 170 | protected function service($file, $outputFile = null) |
| 171 | 171 | { |
| 172 | - if (!file_exists($file)) throw new FileNotFoundException($file); |
|
| 172 | + if (!file_exists($file)) { |
|
| 173 | + throw new FileNotFoundException($file); |
|
| 174 | + } |
|
| 173 | 175 | if ($this->installConfigFile() == -1) { |
| 174 | 176 | return; |
| 175 | 177 | } |