@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2018 SURFnet bv |
@@ -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 | /** |
6 | 6 | * Copyright 2018 SURFnet bv |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | private function sortCollection(): void |
60 | 60 | { |
61 | 61 | // The collection is first sorted by LoA level and then in alphabetic order. |
62 | - uasort($this->collection, function (AvailableTokenInterface $a, AvailableTokenInterface $b): int { |
|
62 | + uasort($this->collection, function(AvailableTokenInterface $a, AvailableTokenInterface $b): int { |
|
63 | 63 | if ($a->getLoaLevel() === $b->getLoaLevel()) { |
64 | 64 | return strcmp((string) $a->getType(), (string) $b->getType()); |
65 | 65 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2020 SURFnet B.V. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2017 SURFnet bv |
@@ -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 | /** |
6 | 6 | * Copyright 2022 SURFnet B.V. |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | #[Route( |
148 | 148 | path: '/second-factor/{secondFactorId}/self-asserted-token-registration/{recoveryTokenId}', |
149 | 149 | name: 'ss_second_factor_self_asserted_tokens_recovery_token', |
150 | - methods: ['GET','POST'] |
|
150 | + methods: ['GET', 'POST'] |
|
151 | 151 | )] |
152 | 152 | public function selfAssertedTokenRegistrationRecoveryToken( |
153 | 153 | Request $request, |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | #[Route( |
272 | 272 | path: '/second-factor/{secondFactorId}/self-asserted-token-registration/{recoveryTokenId}/authenticate', |
273 | 273 | name: 'ss_second_factor_self_asserted_tokens_recovery_token_sms', |
274 | - methods: ['GET','POST'] |
|
274 | + methods: ['GET', 'POST'] |
|
275 | 275 | )] |
276 | 276 | public function selfAssertedTokenRecoveryTokenSmsAuthentication( |
277 | 277 | Request $request, |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | #[Route( |
345 | 345 | path: '/second-factor/{secondFactorId}/safe-store', |
346 | 346 | name: 'ss_registration_recovery_token_safe_store', |
347 | - methods: ['GET','POST'] |
|
347 | + methods: ['GET', 'POST'] |
|
348 | 348 | )] |
349 | 349 | public function registerCreateRecoveryTokenSafeStore(Request $request, string $secondFactorId): Response |
350 | 350 | { |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | #[Route( |
390 | 390 | path: '/second-factor/{secondFactorId}/sms', |
391 | 391 | name: 'ss_registration_recovery_token_sms', |
392 | - methods: ['GET','POST'], |
|
392 | + methods: ['GET', 'POST'], |
|
393 | 393 | )] |
394 | 394 | public function registerRecoveryTokenSms(Request $request, string $secondFactorId): Response |
395 | 395 | { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2013 SURFnet bv |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2021 SURFnet B.V. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2022 SURFnet bv |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright 2014 SURFnet bv |