@@ -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\Authorization; |
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\Security\Authorization; |
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\Authorization; |
6 | 6 | |
@@ -14,11 +14,11 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public function register(Container $container) |
16 | 16 | { |
17 | - $container['security.authorization.authorizations'] = function () use ($container) { |
|
17 | + $container['security.authorization.authorizations'] = function() use ($container) { |
|
18 | 18 | return []; |
19 | 19 | }; |
20 | 20 | |
21 | - $container['security.authorization'] = function () use ($container) { |
|
21 | + $container['security.authorization'] = function() use ($container) { |
|
22 | 22 | return new AuthorizationStack($container['security.authorization.authorizations']); |
23 | 23 | }; |
24 | 24 | } |
@@ -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\Authorization; |
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\Security\Authorization; |
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 | |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public function register(Container $container) |
16 | 16 | { |
17 | - $container['security.authentication.passwordmanager'] = function () { |
|
17 | + $container['security.authentication.passwordmanager'] = function() { |
|
18 | 18 | return new PasswordManager(); |
19 | 19 | }; |
20 | 20 | |
@@ -27,11 +27,11 @@ discard block |
||
27 | 27 | */ |
28 | 28 | private function registerAuthentication(Container $container) |
29 | 29 | { |
30 | - $container['security.authentication.authentications'] = function () { |
|
30 | + $container['security.authentication.authentications'] = function() { |
|
31 | 31 | return []; |
32 | 32 | }; |
33 | 33 | |
34 | - $container['security.authentication'] = function () use ($container) { |
|
34 | + $container['security.authentication'] = function() use ($container) { |
|
35 | 35 | return new AuthenticationStack($container['security.authentication.authentications']); |
36 | 36 | }; |
37 | 37 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | private function registerMiddleware(Container $container) |
43 | 43 | { |
44 | - $container['security.authentication.middleware'] = function () use ($container) { |
|
44 | + $container['security.authentication.middleware'] = function() use ($container) { |
|
45 | 45 | return new AuthenticationMiddleware($container['security.authentication']); |
46 | 46 | }; |
47 | 47 | } |
@@ -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 @@ |
||
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 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Security\Authentication\Exception; |
6 | 6 |