@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | ]); |
42 | 42 | $builder->add('verifySecret', SubmitType::class, [ |
43 | 43 | 'label' => 'ss.form.ss_authenticate_safe_store_type.button.continue', |
44 | - 'attr' => [ 'class' => 'btn btn-primary pull-right' ], |
|
44 | + 'attr' => ['class' => 'btn btn-primary pull-right'], |
|
45 | 45 | ]); |
46 | 46 | } |
47 | 47 |
@@ -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 | ]) |
41 | 41 | ->add('confirm', SubmitType::class, [ |
42 | 42 | 'label' => 'ss.form.recovery_token.button.confirm', |
43 | - 'attr' => [ 'class' => 'btn btn-primary pull-right' ], |
|
43 | + 'attr' => ['class' => 'btn btn-primary pull-right'], |
|
44 | 44 | ]); |
45 | 45 | } |
46 | 46 |
@@ -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 2015 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 2015 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 2015 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 2014 SURFnet bv |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | path: '/second-factor/{state}/{secondFactorId}/revoke', |
46 | 46 | name: 'ss_second_factor_revoke', |
47 | 47 | requirements: ['state' => '^(unverified|verified|vetted)$'], |
48 | - methods: ['GET','POST'] |
|
48 | + methods: ['GET', 'POST'] |
|
49 | 49 | )] |
50 | - public function __invoke(Request $request, string $state, string $secondFactorId): array|Response |
|
50 | + public function __invoke(Request $request, string $state, string $secondFactorId): array | Response |
|
51 | 51 | { |
52 | 52 | $identity = $this->getUser()->getIdentity(); |
53 | 53 |