@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Simple; |
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\Simple; |
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\Simple; |
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\Simple; |
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\Simple; |
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\Simple; |
4 | 4 | |
5 | 5 | use Mezon\Router\RouterInterface; |
@@ -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\Simple; |
4 | 4 | |
5 | 5 | use PHPUnit\Framework\TestCase; |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | // setup |
51 | 51 | RouterUnitTestUtils::setRequestMethod('GET'); |
52 | 52 | $router = new SimpleRouter(); |
53 | - $router->addRoute($route, function () { |
|
53 | + $router->addRoute($route, function() { |
|
54 | 54 | return 'route result'; |
55 | 55 | }); |
56 | 56 | |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | { |
73 | 73 | // setup |
74 | 74 | $router = new SimpleRouter(); |
75 | - $router->addRoute('existing-route', function () { |
|
75 | + $router->addRoute('existing-route', function() { |
|
76 | 76 | return 'existing route result'; |
77 | 77 | }); |
78 | 78 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router\Tests\Simple; |
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; |
4 | 4 | |
5 | 5 | /** |