Skip to content

Commit

Permalink
Merge pull request #28 from Corviz/analysis-JGpW6o
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
carloscarucce authored Jan 13, 2023
2 parents 885786b + 0f92526 commit 4f1ddcb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -144,8 +144,10 @@ public function run(...$args)

/**
* @param callable $fn
* @return void
*
* @throws Exception
*
* @return void
*/
public function invoke(callable $fn): void
{
Expand Down Expand Up @@ -187,7 +189,7 @@ private function buildMiddlewareQueue(array $groups)
}

/**
* @param array $queue
* @param array $queue
* @param Closure $controllerClosure
*
* @throws Exception
Expand Down

0 comments on commit 4f1ddcb

Please sign in to comment.