@@ -242,8 +242,7 @@ |
||
242 | 242 | if ($this->validMethod($method)) { |
243 | 243 | array_unshift($args, $method); |
244 | 244 | return call_user_func_array(array($this, 'makeRequest'), $args); |
245 | - } |
|
246 | - else { |
|
245 | + } else { |
|
247 | 246 | throw new \BadMethodCallException('Method not found in class.'); |
248 | 247 | } |
249 | 248 | } |