@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\Tests\Base\DynamicRoutesTestClass; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\Router; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\Router; |
@@ -30,10 +30,10 @@ discard block |
||
30 | 30 | public function testValidRouteParameter(): void |
31 | 31 | { |
32 | 32 | $router = new Router(); |
33 | - $router->addRoute('/catalog/all/', function (string $route): string { |
|
33 | + $router->addRoute('/catalog/all/', function(string $route): string { |
|
34 | 34 | return $route; |
35 | 35 | }); |
36 | - $router->addRoute('/catalog/[i:cat_id]', function (string $route): string { |
|
36 | + $router->addRoute('/catalog/[i:cat_id]', function(string $route): string { |
|
37 | 37 | return $route; |
38 | 38 | }); |
39 | 39 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use PHPUnit\Framework\TestCase; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\RouterInterface; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\Tests\Base\StaticRoutesTestClass; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\Router; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use Mezon\Router\Router; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Standart; |
4 | 4 | |
5 | 5 | use PHPUnit\Framework\TestCase; |