Passed
Pull Request — master (#686)
by Julius
02:57 queued 47s
created
lib/Service/BoardService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	public function findAll($since = -1) {
92 92
 		$userInfo = $this->getBoardPrerequisites();
93 93
 		$userBoards = $this->boardMapper->findAllByUser($userInfo['user'], null, null, $since);
94
-		$groupBoards = $this->boardMapper->findAllByGroups($userInfo['user'], $userInfo['groups'],null, null,  $since);
94
+		$groupBoards = $this->boardMapper->findAllByGroups($userInfo['user'], $userInfo['groups'], null, null, $since);
95 95
 		$complete = array_merge($userBoards, $groupBoards);
96 96
 		$result = [];
97 97
 		foreach ($complete as &$item) {
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	 */
126 126
 	public function find($boardId) {
127 127
 
128
-		if ( is_numeric($boardId) === false ) {
128
+		if (is_numeric($boardId) === false) {
129 129
 			throw new BadRequestException('board id must be a number');
130 130
 		}
131 131
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	 */
175 175
 	public function isArchived($mapper, $id) {
176 176
 
177
-		if (is_numeric($id) === false)  {
177
+		if (is_numeric($id) === false) {
178 178
 			throw new BadRequestException('id must be a number');
179 179
 		}
180 180
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 			throw new BadRequestException('mapper must be provided');
209 209
 		}
210 210
 
211
-		if (is_numeric($id) === false)  {
211
+		if (is_numeric($id) === false) {
212 212
 			throw new BadRequestException('id must be a number');
213 213
 		}
214 214
 
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 	 * @throws BadRequestException
340 340
 	 */
341 341
 	public function deleteForce($id) {
342
-		if (is_numeric($id) === false)  {
342
+		if (is_numeric($id) === false) {
343 343
 			throw new BadRequestException('id must be a number');
344 344
 		}
345 345
 
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
 			throw new BadRequestException('color must be provided');
374 374
 		}
375 375
 
376
-		if ( is_bool($archived) === false ) {
376
+		if (is_bool($archived) === false) {
377 377
 			throw new BadRequestException('archived must be a boolean');
378 378
 		}
379 379
 
Please login to merge, or discard this patch.