@@ -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\Security\Authentication; |
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\Security\Authentication; |
6 | 6 | |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function register(Container $container) |
19 | 19 | { |
20 | - $container['security.authentication.passwordmanager'] = function () { |
|
20 | + $container['security.authentication.passwordmanager'] = function() { |
|
21 | 21 | return new PasswordManager(); |
22 | 22 | }; |
23 | 23 | |
@@ -30,11 +30,11 @@ discard block |
||
30 | 30 | */ |
31 | 31 | private function registerAuthentication(Container $container) |
32 | 32 | { |
33 | - $container['security.authentication.authentications'] = function () { |
|
33 | + $container['security.authentication.authentications'] = function() { |
|
34 | 34 | return []; |
35 | 35 | }; |
36 | 36 | |
37 | - $container['security.authentication'] = function () use ($container) { |
|
37 | + $container['security.authentication'] = function() use ($container) { |
|
38 | 38 | return new AuthenticationStack($container['security.authentication.authentications']); |
39 | 39 | }; |
40 | 40 | } |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | } |
56 | 56 | }; |
57 | 57 | |
58 | - $container['security.authentication.middleware'] = function () use ($container) { |
|
58 | + $container['security.authentication.middleware'] = function() use ($container) { |
|
59 | 59 | return new AuthenticationErrorResponseMiddleware( |
60 | 60 | $container['security.authentication'], |
61 | 61 | $container['security.authentication.errorResponseHandler'] |
@@ -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\Security\Authentication; |
6 | 6 |