Passed
Push — feature/updates-nov25 ( 986d8f...e248a0 )
by Johan
05:23
created
Surfnet/StepupMiddleware/ApiBundle/Controller/RaSecondFactorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $actorId = new IdentityId($request->query->get('actorId'));
69 69
 
70 70
         $query = new RaSecondFactorQuery();
71
-        $query->pageNumber = (int)$request->query->get('p', 1);
71
+        $query->pageNumber = (int) $request->query->get('p', 1);
72 72
         $query->name = $request->query->get('name');
73 73
         $query->type = $request->query->get('type');
74 74
         $query->secondFactorId = $request->query->get('secondFactorId');
Please login to merge, or discard this patch.
StepupMiddleware/ApiBundle/Controller/VerifiedSecondFactorController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         }
77 77
 
78 78
         $query->registrationCode = $request->query->get('registrationCode');
79
-        $query->pageNumber = (int)$request->query->get('p', 1);
79
+        $query->pageNumber = (int) $request->query->get('p', 1);
80 80
         $query->authorizationContext = $this->institutionAuthorizationService->buildInstitutionAuthorizationContext(
81 81
             $actorId,
82 82
             RegistrationAuthorityRole::ra(),
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $query = new VerifiedSecondFactorOfIdentityQuery();
94 94
 
95 95
         $query->identityId = new IdentityId($request->query->get('identityId'));
96
-        $query->pageNumber = (int)$request->query->get('p', 1);
96
+        $query->pageNumber = (int) $request->query->get('p', 1);
97 97
 
98 98
         $paginator = $this->secondFactorService->searchVerifiedSecondFactorsOfIdentity($query);
99 99
 
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Controller/RaListingController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             $query->raInstitution = $request->query->get('raInstitution');
100 100
         }
101 101
 
102
-        $query->pageNumber = (int)$request->query->get('p', 1);
102
+        $query->pageNumber = (int) $request->query->get('p', 1);
103 103
         $query->orderBy = $request->query->get('orderBy');
104 104
         $query->orderDirection = $request->query->get('orderDirection');
105 105
         $query->authorizationContext = $this->authorizationService->buildInstitutionAuthorizationContext(
Please login to merge, or discard this patch.
StepupMiddleware/ApiBundle/Controller/VettedSecondFactorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
         $query = new VettedSecondFactorQuery();
57 57
         $query->identityId = new IdentityId($request->query->get('identityId'));
58
-        $query->pageNumber = (int)$request->query->get('p', 1);
58
+        $query->pageNumber = (int) $request->query->get('p', 1);
59 59
 
60 60
         $paginator = $this->secondFactorService->searchVettedSecondFactors($query);
61 61
 
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Controller/IdentityController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $query->nameId = $request->query->get('NameID');
59 59
         $query->commonName = $request->query->get('commonName');
60 60
         $query->email = $request->query->get('email');
61
-        $query->pageNumber = (int)$request->query->get('p', 1);
61
+        $query->pageNumber = (int) $request->query->get('p', 1);
62 62
 
63 63
         $paginator = $this->identityService->search($query);
64 64
 
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Controller/RaCandidateController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $query->email = $request->query->get('email');
54 54
         $query->secondFactorTypes = $request->query->get('secondFactorTypes');
55 55
         $query->raInstitution = $request->query->get('raInstitution');
56
-        $query->pageNumber = (int)$request->query->get('p', 1);
56
+        $query->pageNumber = (int) $request->query->get('p', 1);
57 57
 
58 58
         $query->authorizationContext = $this->authorizationService->buildSelectRaaInstitutionAuthorizationContext(
59 59
             $actorId,
Please login to merge, or discard this patch.
Surfnet/StepupMiddleware/ApiBundle/Controller/RecoveryTokenController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $query->institution = $request->query->get('institution');
72 72
         $query->email = $request->query->get('email');
73 73
         $query->name = $request->query->get('name');
74
-        $query->pageNumber = (int)$request->query->get('p', 1);
74
+        $query->pageNumber = (int) $request->query->get('p', 1);
75 75
         $query->orderBy = $request->query->get('orderBy');
76 76
         $query->orderDirection = $request->query->get('orderDirection');
77 77
 
Please login to merge, or discard this patch.
StepupMiddleware/ApiBundle/Controller/UnverifiedSecondFactorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $query = new UnverifiedSecondFactorQuery();
57 57
         $query->identityId = new IdentityId($request->query->get('identityId'));
58 58
         $query->verificationNonce = $request->query->get('verificationNonce');
59
-        $query->pageNumber = (int)$request->query->get('p', 1);
59
+        $query->pageNumber = (int) $request->query->get('p', 1);
60 60
 
61 61
         $paginator = $this->secondFactorService->searchUnverifiedSecondFactors($query);
62 62
 
Please login to merge, or discard this patch.