Skip to content

Commit 4f1ddcb

Browse files
Merge pull request #28 from Corviz/analysis-JGpW6o
Apply fixes from StyleCI
2 parents 885786b + 0f92526 commit 4f1ddcb

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/Application.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function getDirectory(): string
9595
*/
9696
public function run(...$args)
9797
{
98-
$this->invoke(function(){
98+
$this->invoke(function () {
9999
//Call controller action.
100100
$this->request = Request::current();
101101
$route = Map::getCurrentRoute();
@@ -144,8 +144,10 @@ public function run(...$args)
144144

145145
/**
146146
* @param callable $fn
147-
* @return void
147+
*
148148
* @throws Exception
149+
*
150+
* @return void
149151
*/
150152
public function invoke(callable $fn): void
151153
{
@@ -187,7 +189,7 @@ private function buildMiddlewareQueue(array $groups)
187189
}
188190

189191
/**
190-
* @param array $queue
192+
* @param array $queue
191193
* @param Closure $controllerClosure
192194
*
193195
* @throws Exception

0 commit comments

Comments
 (0)