Passed
Branch api-functionality (902732)
by Toby
04:47
created
src/Request/EventTypeRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             'GET'
74 74
         );
75 75
 
76
-        $this->addQueryParameter('in_use', ($inUse?'true':'false'));
76
+        $this->addQueryParameter('in_use', ($inUse ? 'true' : 'false'));
77 77
 
78 78
         $this->enablePagination();
79 79
         $this->enableTimes();
Please login to merge, or discard this patch.
src/Request/ElectionVoterRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * @throws \Twigger\UnionCloud\API\Exception\Request\RequestHistoryNotFound
68 68
      * @throws \Twigger\UnionCloud\API\Exception\Response\BaseResponseException
69 69
      */
70
-    public function getByElection($electionID, $voterType='actual')
70
+    public function getByElection($electionID, $voterType = 'actual')
71 71
     {
72 72
         $this->setAPIParameters(
73 73
             'elections/'.$electionID.'/election_voters',
Please login to merge, or discard this patch.
src/Request/ElectionVoterDemographicRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * @throws \Twigger\UnionCloud\API\Exception\Request\RequestHistoryNotFound
68 68
      * @throws \Twigger\UnionCloud\API\Exception\Response\BaseResponseException
69 69
      */
70
-    public function getByElection($electionID, $voterType='actual')
70
+    public function getByElection($electionID, $voterType = 'actual')
71 71
     {
72 72
         $this->setAPIParameters(
73 73
             'elections/'.$electionID.'/election_voters_demographics',
Please login to merge, or discard this patch.
src/Request/UserGroupMembershipRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
     public function deleteMultiple($ugms)
209 209
     {
210 210
         $userGroupMemberships = [];
211
-        foreach($ugms as $ugm)
211
+        foreach ($ugms as $ugm)
212 212
         {
213 213
             $userGroupMemberships[] = ['ugm_id' => $ugm];
214 214
         }
Please login to merge, or discard this patch.