@@ -57,8 +57,7 @@ |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | return $processedConfiguration; |
| 60 | - } |
|
| 61 | - else { |
|
| 60 | + } else { |
|
| 62 | 61 | throw new \RuntimeException(sprintf('Configuration file does not exist or is not accessible %s', |
| 63 | 62 | $this->filepath)); |
| 64 | 63 | } |
@@ -150,12 +150,10 @@ |
||
| 150 | 150 | if ($reflection->getConstructor()) { |
| 151 | 151 | $this->gauges[$path] = $reflection->newInstanceArgs( |
| 152 | 152 | $details['arguments'] ? $details['arguments'] : array()); |
| 153 | - } |
|
| 154 | - else { |
|
| 153 | + } else { |
|
| 155 | 154 | $this->gauges[$path] = $reflection->newInstance(); |
| 156 | 155 | } |
| 157 | - } |
|
| 158 | - else { |
|
| 156 | + } else { |
|
| 159 | 157 | throw new \RuntimeException(sprintf( |
| 160 | 158 | 'Class does not exists %s' |
| 161 | 159 | ), $className); |