@@ -57,7 +57,7 @@ |
||
| 57 | 57 | return $this->maxNumberOfRegistrations; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - public function getRegistrationsLeft(): int|float |
|
| 60 | + public function getRegistrationsLeft(): int | float |
|
| 61 | 61 | { |
| 62 | 62 | $total = $this->maxNumberOfRegistrations; |
| 63 | 63 | |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | return -10; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string|array |
|
| 66 | + public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string | array |
|
| 67 | 67 | { |
| 68 | 68 | return $config; |
| 69 | 69 | } |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | |
| 108 | 108 | public function hasRequestId(): bool |
| 109 | 109 | { |
| 110 | - return $this->session->has(self::SAML_SESSION_KEY. 'request_id'); |
|
| 110 | + return $this->session->has(self::SAML_SESSION_KEY . 'request_id'); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | public function clearRequestId(): void |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | use Surfnet\StepupSelfService\Kernel; |
| 19 | 19 | |
| 20 | -require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; |
|
| 20 | +require_once dirname(__DIR__) . '/vendor/autoload_runtime.php'; |
|
| 21 | 21 | |
| 22 | -return function (array $context) { |
|
| 22 | +return function(array $context) { |
|
| 23 | 23 | return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); |
| 24 | 24 | }; |