Completed
Pull Request — master (#699)
by René
04:09
created
lib/Service/LogService.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
 
51 51
 
52 52
 	/**
53
-	* Prevent repetition of the same log event
54
-	* @NoAdminRequired
55
-	* @return Bool
56
-	*/
53
+	 * Prevent repetition of the same log event
54
+	 * @NoAdminRequired
55
+	 * @return Bool
56
+	 */
57 57
 	public function isRepetition() {
58 58
 		try {
59 59
 			$lastRecord = $this->mapper->getLastRecord($this->logItem->getPollId());
@@ -68,14 +68,14 @@  discard block
 block discarded – undo
68 68
 	}
69 69
 
70 70
 	/**
71
-	* Log poll activity
72
-	* @NoAdminRequired
73
-	* @param $pollId
74
-	* @param $messageId
75
-	* @param $userId
76
-	* @param $message
77
-	* @return Log
78
-	*/
71
+	 * Log poll activity
72
+	 * @NoAdminRequired
73
+	 * @param $pollId
74
+	 * @param $messageId
75
+	 * @param $userId
76
+	 * @param $message
77
+	 * @return Log
78
+	 */
79 79
 	public function setLog($pollId, $messageId, $userId = null, $message = null) {
80 80
 		$this->logItem = new Log();
81 81
 		$this->logItem->setPollId($pollId);
Please login to merge, or discard this patch.
lib/Cron/NotificationCron.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -31,31 +31,31 @@
 block discarded – undo
31 31
 class NotificationCron extends TimedJob {
32 32
 
33 33
 	/** @var MailService*/
34
-    private $mailService;
34
+	private $mailService;
35 35
 	private $logger;
36 36
 
37 37
 	/** @param MailService $mailService
38
-	*/
39
-    public function __construct(
38
+	 */
39
+	public function __construct(
40 40
 		ILogger $logger,
41 41
 		MailService $mailService
42 42
 	) {
43 43
 		$this->logger = $logger;
44 44
 		$this->setInterval(60);
45 45
 		$this->mailService = $mailService;
46
-    }
46
+	}
47 47
 
48 48
 	/**
49
-	* run
50
-	* @param string $token
51
-	* @return null
52
-	*/
53
-    protected function run($arguments) {
54
-        if ($this->mailService->sendNotifications()) {
55
-        	$this->logger->debug('Notifications sent');
56
-        } else {
49
+	 * run
50
+	 * @param string $token
51
+	 * @return null
52
+	 */
53
+	protected function run($arguments) {
54
+		if ($this->mailService->sendNotifications()) {
55
+			$this->logger->debug('Notifications sent');
56
+		} else {
57 57
 			$this->logger->alert('error while sending notifications');
58
-        }
59
-    }
58
+		}
59
+	}
60 60
 
61 61
 }
Please login to merge, or discard this patch.