@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Csrf; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Csrf; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Csrf; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Csrf; |
6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | { |
19 | 19 | $container['csrf.tokenGenerator.entropy'] = 256; |
20 | 20 | |
21 | - $container['csrf.tokenGenerator'] = function () use ($container) { |
|
21 | + $container['csrf.tokenGenerator'] = function() use ($container) { |
|
22 | 22 | return new CsrfTokenGenerator($container['csrf.tokenGenerator.entropy']); |
23 | 23 | }; |
24 | 24 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | }; |
35 | 35 | |
36 | - $container['csrf.middleware'] = function () use ($container) { |
|
36 | + $container['csrf.middleware'] = function() use ($container) { |
|
37 | 37 | return new CsrfErrorResponseMiddleware( |
38 | 38 | $container['csrf.tokenGenerator'], |
39 | 39 | $container['session'], |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Csrf; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Csrf; |
6 | 6 |