Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 13, 2023
1 parent 885786b commit 0f92526
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 0f92526

Please sign in to comment.