]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: construct background jobs
authorChristopher Ng <chrng8@gmail.com>
Mon, 31 Jul 2023 23:49:42 +0000 (16:49 -0700)
committerChristopher Ng <chrng8@gmail.com>
Thu, 3 Aug 2023 22:30:11 +0000 (15:30 -0700)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
apps/files_reminders/lib/BackgroundJob/ScheduledNotifications.php

index cf55ee54509c98b8d45d452f3528baa1cf602a50..afa8c514a0aa2f690086e09506fed3383d0a0d49 100644 (file)
@@ -33,7 +33,7 @@ use OCP\BackgroundJob\TimedJob;
 
 class CleanUpReminders extends TimedJob {
        public function __construct(
-               private ITimeFactory $time,
+               ITimeFactory $time,
                private ReminderService $reminderService,
        ) {
                parent::__construct($time);
index 17b4c90202959a2992966b4d448199c782996862..15ae56f0698696f87e42183fddd5e21fd453b76a 100644 (file)
@@ -35,7 +35,7 @@ use Psr\Log\LoggerInterface;
 
 class ScheduledNotifications extends Job {
        public function __construct(
-               protected ITimeFactory $time,
+               ITimeFactory $time,
                protected ReminderMapper $reminderMapper,
                protected ReminderService $reminderService,
                protected LoggerInterface $logger,