Completed
Push — master ( 11c68a...3647eb )
by Tomasz
03:03
created
src/HandlerContainer/HandlerContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.