@@ -31,7 +31,6 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Sets not found handler |
| 33 | 33 | * |
| 34 | - * @param ParsedRoute $route Instance of found parsed route |
|
| 35 | 34 | * |
| 36 | 35 | * @return self for fluent interface |
| 37 | 36 | */ |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router; |
| 5 | 5 | |
@@ -232,7 +232,6 @@ discard block |
||
| 232 | 232 | * @param mixed $parameters route parameters |
| 233 | 233 | * @param mixed $handler handler that should be executed |
| 234 | 234 | * @param mixed $matches found matched variables |
| 235 | - |
|
| 236 | 235 | * @return mixed |
| 237 | 236 | */ |
| 238 | 237 | private function resolveNamespace($parameters, $handler, $matches) |
@@ -288,7 +287,6 @@ discard block |
||
| 288 | 287 | * @param mixed $matches found matched variables |
| 289 | 288 | * @param mixed $parameters route parameters |
| 290 | 289 | * @param mixed $handlers handler that should be executed |
| 291 | - |
|
| 292 | 290 | * @return mixed |
| 293 | 291 | */ |
| 294 | 292 | private function getFunctionArgumentsControlers( |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Dispatcher; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Matcher; |
| 5 | 5 | |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | */ |
| 283 | 283 | private function transformRouteVariables(string $route, array $variables) : string |
| 284 | 284 | { |
| 285 | - list($valueToReplace, , $parametersVariables) = array_pad( |
|
| 285 | + list($valueToReplace,, $parametersVariables) = array_pad( |
|
| 286 | 286 | $variables, |
| 287 | 287 | 3, |
| 288 | 288 | null |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Route; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Route\Builder; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Route\Route; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Dispatcher; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Kambo\Router\Route; |
| 5 | 5 | |