Passed
Pull Request — master (#1219)
by René
04:57
created
lib/Service/ShareService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 		try {
110 110
 			$this->share = $this->shareMapper->findByToken($token);
111 111
 		} catch (DoesNotExistException $e) {
112
-			throw new NotFoundException('Token ' . $token .' does not exist');
112
+			throw new NotFoundException('Token ' . $token . ' does not exist');
113 113
 		}
114 114
 		// Allow users entering the poll with a public share access
115 115
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 		try {
200 200
 			$this->share = $this->shareMapper->findByToken($token);
201 201
 		} catch (DoesNotExistException $e) {
202
-			throw new NotFoundException('Token ' . $token .' does not exist');
202
+			throw new NotFoundException('Token ' . $token . ' does not exist');
203 203
 		}
204 204
 
205 205
 		if ($this->share->getType() === Share::TYPE_EXTERNAL) {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 		try {
227 227
 			$this->share = $this->shareMapper->findByToken($token);
228 228
 		} catch (DoesNotExistException $e) {
229
-			throw new NotFoundException('Token ' . $token .' does not exist');
229
+			throw new NotFoundException('Token ' . $token . ' does not exist');
230 230
 		}
231 231
 
232 232
 		$this->systemService->validatePublicUsername($this->share->getPollId(), $userName, $token);
Please login to merge, or discard this patch.
lib/Service/OptionService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
 				throw new NotAuthorizedException;
267 267
 			}
268 268
 		} catch (DoesNotExistException $e) {
269
-			throw new NotFoundException('Poll ' . $fromPollId .' does not exist');
269
+			throw new NotFoundException('Poll ' . $fromPollId . ' does not exist');
270 270
 		}
271 271
 
272 272
 		foreach ($this->optionMapper->findByPoll($fromPollId) as $origin) {
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
 		try {
297 297
 			$this->poll = $this->pollMapper->find($pollId);
298 298
 		} catch (DoesNotExistException $e) {
299
-			throw new NotFoundException('Poll ' . $pollId .' not found');
299
+			throw new NotFoundException('Poll ' . $pollId . ' not found');
300 300
 		}
301 301
 
302 302
 
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 		try {
335 335
 			$this->option = $this->optionMapper->find($optionId);
336 336
 		} catch (DoesNotExistException $e) {
337
-			throw new NotFoundException('Option ' . $optionId .' not found');
337
+			throw new NotFoundException('Option ' . $optionId . ' not found');
338 338
 		}
339 339
 
340 340
 		$pollId = $this->option->getPollId();
Please login to merge, or discard this patch.