@@ -14,13 +14,13 @@ |
||
14 | 14 | |
15 | 15 | [$class, $method] = $array; |
16 | 16 | |
17 | - if (! class_exists($class)){ |
|
17 | + if (!class_exists($class)) { |
|
18 | 18 | throw new Exception("Class {$class} doesn't exist."); |
19 | 19 | } |
20 | 20 | |
21 | 21 | $method = $method ?: 'handle'; |
22 | 22 | |
23 | - if (! method_exists($class, $method)){ |
|
23 | + if (!method_exists($class, $method)) { |
|
24 | 24 | throw new Exception("Method {$method} doesn't exist on {$class} class."); |
25 | 25 | } |
26 | 26 |