@@ -40,13 +40,13 @@ |
||
| 40 | 40 | { |
| 41 | 41 | static::baseConfigureContainer($container); |
| 42 | 42 | |
| 43 | - $container[PassportServerIntegrationInterface::class] = function (PsrContainerInterface $container) { |
|
| 43 | + $container[PassportServerIntegrationInterface::class] = function(PsrContainerInterface $container) { |
|
| 44 | 44 | assert($container !== null); |
| 45 | 45 | |
| 46 | 46 | return new PassportServerIntegration($container); |
| 47 | 47 | }; |
| 48 | 48 | |
| 49 | - $container[TokenRepositoryInterface::class] = function (PsrContainerInterface $container) { |
|
| 49 | + $container[TokenRepositoryInterface::class] = function(PsrContainerInterface $container) { |
|
| 50 | 50 | $connection = $container->get(Connection::class); |
| 51 | 51 | $scheme = $container->get(DatabaseSchemeInterface::class); |
| 52 | 52 | |
@@ -38,13 +38,13 @@ |
||
| 38 | 38 | { |
| 39 | 39 | static::baseConfigureContainer($container); |
| 40 | 40 | |
| 41 | - $container[PassportServerIntegrationInterface::class] = function (PsrContainerInterface $container) { |
|
| 41 | + $container[PassportServerIntegrationInterface::class] = function(PsrContainerInterface $container) { |
|
| 42 | 42 | assert($container !== null); |
| 43 | 43 | |
| 44 | 44 | return new PassportServerIntegration($container); |
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | - $container[TokenRepositoryInterface::class] = function (PsrContainerInterface $container) { |
|
| 47 | + $container[TokenRepositoryInterface::class] = function(PsrContainerInterface $container) { |
|
| 48 | 48 | $connection = $container->get(Connection::class); |
| 49 | 49 | $scheme = $container->get(DatabaseSchemeInterface::class); |
| 50 | 50 | |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | /** @var callable|null $customPropProvider */ |
| 128 | 128 | $customPropProvider = $this->settings[C::KEY_TOKEN_CUSTOM_PROPERTIES_PROVIDER] ?? null; |
| 129 | 129 | $wrapper = $customPropProvider !== null ? |
| 130 | - function (TokenInterface $token) use ($container, $customPropProvider): array { |
|
| 130 | + function(TokenInterface $token) use ($container, $customPropProvider) : array { |
|
| 131 | 131 | return call_user_func($customPropProvider, $container, $token); |
| 132 | 132 | } : null; |
| 133 | 133 | |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | self::SCOPE_APPROVAL_IS_SCOPE_MODIFIED => $isScopeModified, |
| 261 | 261 | self::SCOPE_APPROVAL_SCOPE => $scopeList, |
| 262 | 262 | self::SCOPE_APPROVAL_STATE => $state, |
| 263 | - ], function ($value) { |
|
| 263 | + ], function($value) { |
|
| 264 | 264 | return $value !== null; |
| 265 | 265 | }); |
| 266 | 266 | |