Completed
Pull Request — develop-0.9 (#315)
by René
06:00
created
lib/Migration/Version009000Date20171202105141.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
 			// ->where($queryFind->expr()->eq('poll_id', $pollId))
354 354
 			// ->andWhere($queryFind->expr()->eq('poll_option', $text));
355 355
 			->where('poll_id = "' . $pollId . '"')
356
-			->andWhere('poll_option_text ="' . $text .'"');
356
+			->andWhere('poll_option_text ="' . $text . '"');
357 357
 
358 358
 		$resultFind = $queryFind->execute();
359 359
 		$row = $resultFind->fetch();
Please login to merge, or discard this patch.
lib/Controller/PageController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
 			foreach ($optionsArray as $optionElement) {
455 455
 				$option = new Options();
456 456
 				$option->setPollId($pollId);
457
-				$option->setPollOptionText(date('Y-m-d H:i:s', (int)$optionElement));
457
+				$option->setPollOptionText(date('Y-m-d H:i:s', (int) $optionElement));
458 458
 				$this->optionsMapper->insert($option);
459 459
 			}
460 460
 		} else {
Please login to merge, or discard this patch.
lib/Controller/ApiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
 			}
260 260
 		}
261 261
 
262
-		return new JSONResponse( json_encode(array(
262
+		return new JSONResponse(json_encode(array(
263 263
 			'id' => $newEvent->getId(),
264 264
 			'hash' => $newEvent->getHash()
265 265
 		)));
Please login to merge, or discard this patch.