Completed
Push — master ( 214ab6...38189a )
by René
06:22 queued 11s
created
lib/Controller/SystemController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -150,14 +150,14 @@  discard block
 block discarded – undo
150 150
 				$group = '';
151 151
 				$org = '';
152 152
 
153
-				if (!array_key_exists('isLocalSystemBook',$r)) {
153
+				if (!array_key_exists('isLocalSystemBook', $r)) {
154 154
 
155
-					if (array_key_exists('CATEGORIES',$r)) {
155
+					if (array_key_exists('CATEGORIES', $r)) {
156 156
 						$group = ' (Groups: ' . $r['CATEGORIES'] . ')';
157 157
 					}
158 158
 
159
-					if (array_key_exists('ORG',$r)) {
160
-						$org = ' ('. $r['ORG'] . ')' ;
159
+					if (array_key_exists('ORG', $r)) {
160
+						$org = ' (' . $r['ORG'] . ')';
161 161
 					}
162 162
 
163 163
 					$list[] = [
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 
280 280
 		$votes = $this->voteMapper->findParticipantsByPoll($pollId);
281 281
 		foreach ($votes as $vote) {
282
-			if ($vote->getUserId() !== '' && $vote->getUserId() !== null ) {
282
+			if ($vote->getUserId() !== '' && $vote->getUserId() !== null) {
283 283
 				$list[] = [
284 284
 					'id' => $vote->getUserId(),
285 285
 					'user' => $vote->getUserId(),
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
 
292 292
 		$shares = $this->shareMapper->findByPoll($pollId);
293 293
 		foreach ($shares as $share) {
294
-			if ($share->getUserId() !== '' && $share->getUserId() !== null ) {
294
+			if ($share->getUserId() !== '' && $share->getUserId() !== null) {
295 295
 				$list[] = [
296 296
 					'id' => $share->getUserId(),
297 297
 					'user' => $share->getUserId(),
Please login to merge, or discard this patch.