@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | public function add($class, $root, $handler) |
13 | 13 | { |
14 | - if(false === is_callable($handler)) { |
|
14 | + if (false === is_callable($handler)) { |
|
15 | 15 | throw new \RuntimeException(sprintf('Invalid handler for class %s!', $class)); |
16 | 16 | } |
17 | 17 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | $handler = $this->getHandler($class); |
25 | 25 | |
26 | - if(null === $handler) { |
|
26 | + if (null === $handler) { |
|
27 | 27 | throw new \RuntimeException(sprintf('Handler for class %s does not exist!', $class)); |
28 | 28 | } |
29 | 29 |