@@ -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; |
| 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 | |
@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | { |
| 17 | 17 | $this->registerRoleHierarchyResolver($container); |
| 18 | 18 | |
| 19 | - $container['security.authorization.authorizations'] = function () use ($container) { |
|
| 19 | + $container['security.authorization.authorizations'] = function() use ($container) { |
|
| 20 | 20 | return []; |
| 21 | 21 | }; |
| 22 | 22 | |
| 23 | - $container['security.authorization'] = function () use ($container) { |
|
| 23 | + $container['security.authorization'] = function() use ($container) { |
|
| 24 | 24 | return new AuthorizationStack($container['security.authorization.authorizations']); |
| 25 | 25 | }; |
| 26 | 26 | } |
@@ -30,11 +30,11 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | private function registerRoleHierarchyResolver(Container $container) |
| 32 | 32 | { |
| 33 | - $container['security.authorization.rolehierarchy'] = function () use ($container) { |
|
| 33 | + $container['security.authorization.rolehierarchy'] = function() use ($container) { |
|
| 34 | 34 | return []; |
| 35 | 35 | }; |
| 36 | 36 | |
| 37 | - $container['security.authorization.rolehierarchyresolver'] = function () use ($container) { |
|
| 37 | + $container['security.authorization.rolehierarchyresolver'] = function() use ($container) { |
|
| 38 | 38 | return new RoleHierarchyResolver($container['security.authorization.rolehierarchy']); |
| 39 | 39 | }; |
| 40 | 40 | } |
@@ -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; |
| 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; |
| 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; |
| 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; |
| 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; |
| 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; |
| 6 | 6 | |