@@ -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 2023 SURFnet bv |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | #[Route( |
| 45 | 45 | path: '/registration/sms/send-challenge', |
| 46 | 46 | name: 'ss_registration_sms_send_challenge', |
| 47 | - methods: ['GET','POST'], |
|
| 47 | + methods: ['GET', 'POST'], |
|
| 48 | 48 | )] |
| 49 | 49 | public function __invoke(Request $request): Response |
| 50 | 50 | { |
@@ -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 2023 SURFnet bv |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | name: 'ss_registration_gssf_consume_assertion', |
| 56 | 56 | methods: ['POST'], |
| 57 | 57 | )] |
| 58 | - public function consumeAssertion(Request $httpRequest, string $provider): array|Response |
|
| 58 | + public function consumeAssertion(Request $httpRequest, string $provider): array | Response |
|
| 59 | 59 | { |
| 60 | 60 | $this->checkerService->assertSecondFactorEnabled($provider); |
| 61 | 61 | |
@@ -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 2014 SURFnet bv |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | #[Route( |
| 41 | 41 | path: '/registration/yubikey/prove-possession', |
| 42 | 42 | name: 'ss_registration_yubikey_prove_possession', |
| 43 | - methods: ['GET','POST'], |
|
| 43 | + methods: ['GET', 'POST'], |
|
| 44 | 44 | )] |
| 45 | 45 | public function provePossession(Request $request): Response |
| 46 | 46 | { |
@@ -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 2023 SURFnet bv |
@@ -46,9 +46,9 @@ discard block |
||
| 46 | 46 | path: '/second-factor/{state}/{secondFactorId}/revoke', |
| 47 | 47 | name: 'ss_second_factor_revoke', |
| 48 | 48 | requirements: ['state' => '^(unverified|verified|vetted)$'], |
| 49 | - methods: ['GET','POST'] |
|
| 49 | + methods: ['GET', 'POST'] |
|
| 50 | 50 | )] |
| 51 | - public function __invoke(Request $request, string $state, string $secondFactorId): array|Response |
|
| 51 | + public function __invoke(Request $request, string $state, string $secondFactorId): array | Response |
|
| 52 | 52 | { |
| 53 | 53 | $identity = $this->getUser()->getIdentity(); |
| 54 | 54 | |
@@ -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 2023 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 |