From d2bbcab233dabe3b04f8c3b94a947ec174540418 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sat, 19 Dec 2020 19:52:59 +0100 Subject: run phpcbf and add fix target to Makefile --- app/class/Routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/class/Routes.php') diff --git a/app/class/Routes.php b/app/class/Routes.php index 0433079..db9b72a 100644 --- a/app/class/Routes.php +++ b/app/class/Routes.php @@ -80,7 +80,7 @@ class Routes $methodName = $callableParts[1]; $controller = new $controllerName($router); - + call_user_func_array(array($controller, $methodName), $match['params']); } else { header($_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found'); -- cgit v1.2.3