diff --git a/Dispatcher/Dispatcher.php b/Dispatcher/Dispatcher.php index 2a25839d6..db59345c0 100644 --- a/Dispatcher/Dispatcher.php +++ b/Dispatcher/Dispatcher.php @@ -170,7 +170,7 @@ class Dispatcher * @since 1.0.0 * @author Dennis Eichhorn */ - private function dispatchClosure(\Closure $controller, RequestAbstract $request, ResponseAbstract $response, $data = null) + private function dispatchClosure(\Closure $controller, RequestAbstract $request, ResponseAbstract $response, $data = null) : array { return $controller($this->app, $request, $response, $data); }