@@ -73,7 +73,7 @@ |
||
| 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(); |
@@ -67,7 +67,7 @@ |
||
| 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', |
@@ -67,7 +67,7 @@ |
||
| 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', |
@@ -208,7 +208,7 @@ |
||
| 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 | } |