Passed
Branch dev (6ce9d7)
by Alex
02:42
created
src/Route.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,9 @@
 block discarded – undo
208 208
 
209 209
         if ($this->controllerCreationFunction === null) {
210 210
                return new $controller;
211
-        } else return call_user_func($this->controllerCreationFunction, $controller);
211
+        } else {
212
+        	return call_user_func($this->controllerCreationFunction, $controller);
213
+        }
212 214
     }
213 215
 
214 216
     /**
Please login to merge, or discard this patch.