Passed
Pull Request — main (#557)
by Johan
10:16 queued 05:20
created
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.