diff --git a/src/Application.php b/src/Application.php index dfcb553..1eeedd1 100644 --- a/src/Application.php +++ b/src/Application.php @@ -95,7 +95,7 @@ public function getDirectory(): string */ public function run(...$args) { - $this->invoke(function(){ + $this->invoke(function () { //Call controller action. $this->request = Request::current(); $route = Map::getCurrentRoute(); @@ -144,8 +144,10 @@ public function run(...$args) /** * @param callable $fn - * @return void + * * @throws Exception + * + * @return void */ public function invoke(callable $fn): void { @@ -187,7 +189,7 @@ private function buildMiddlewareQueue(array $groups) } /** - * @param array $queue + * @param array $queue * @param Closure $controllerClosure * * @throws Exception