@@ -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 | public function decideSecondFactorFlow() : RedirectResponse |
41 | 41 | { |
42 | 42 | $requestStack = $this->container->get('request_stack'); |
43 | - $value = $requestStack->getSession()->get('test'); |
|
43 | + $value = $requestStack->getSession()->get('test'); |
|
44 | 44 | $requestStack->getSession()->set('test', 'proeftest'); |
45 | 45 | $identity = $this->getIdentity(); |
46 | 46 | $hasSecondFactor = $this->secondFactorService->doSecondFactorsExistForIdentity($identity->id); |
@@ -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 |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | #[Route( |
80 | 80 | path: '/registration/gssf/{provider}/status', |
81 | 81 | name: 'ss_registration_gssf_status_report', |
82 | - defaults: ['authenticationFailed' => false, 'proofOfPossessionFailed'=> false ], |
|
82 | + defaults: ['authenticationFailed' => false, 'proofOfPossessionFailed'=> false], |
|
83 | 83 | methods: ['GET'], |
84 | 84 | )] |
85 | 85 | |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | name: 'ss_registration_gssf_consume_assertion', |
136 | 136 | methods: ['POST'], |
137 | 137 | )] |
138 | - public function consumeAssertion(Request $httpRequest, string $provider): array|Response |
|
138 | + public function consumeAssertion(Request $httpRequest, string $provider): array | Response |
|
139 | 139 | { |
140 | 140 | $this->assertSecondFactorEnabled($provider); |
141 | 141 |