Merge branch 'v4-development' into feature-default-namespace

This commit is contained in:
Simon Sessingø
2021-03-23 14:52:39 +01:00
committed by GitHub
14 changed files with 207 additions and 245 deletions
+1 -2
View File
@@ -78,7 +78,6 @@ abstract class Route implements IRoute
$router->debug('Executing callback');
/* When the callback is a function */
return $router->getClassLoader()->loadClosure($callback, $parameters);
}
@@ -251,7 +250,7 @@ abstract class Route implements IRoute
/**
* Set callback
*
* @param string|array\Closure $callback
* @param string|array|\Closure $callback
* @return static
*/
public function setCallback($callback): IRoute