diff options
author | René Gieling <github@dartcafe.de> | 2019-12-30 17:53:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 17:53:20 +0300 |
commit | b2a7aa730e21824cf07dc44d918886946cdbedda (patch) | |
tree | 8a5b16859c1fbb94b918d233a41bdf0c45bb431c /lib/Cron | |
parent | fdfa85437485458f181241dd9560806e1e256043 (diff) | |
parent | dd0719fc48c790ec5d3ec5a3cef3de18807f424d (diff) |
Merge branch 'master' into scutinizerChallange
Diffstat (limited to 'lib/Cron')
-rw-r--r-- | lib/Cron/NotificationCron.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Cron/NotificationCron.php b/lib/Cron/NotificationCron.php index 526484df..0fe161b4 100644 --- a/lib/Cron/NotificationCron.php +++ b/lib/Cron/NotificationCron.php @@ -33,19 +33,19 @@ use OCA\Polls\Service\MailService; class NotificationCron extends TimedJob { /** @var MailService*/ - private $mailService; + private $mailService; private $logger; /** @param MailService $mailService - */ - public function __construct( + */ + public function __construct( ILogger $logger, MailService $mailService ) { $this->logger = $logger; $this->setInterval(60); $this->mailService = $mailService; - } + } /** * run @@ -56,5 +56,4 @@ class NotificationCron extends TimedJob { $this->logger->debug('Notifications sent'); } } - } |