aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-07-31 16:49:42 -0700
committerChristopher Ng <chrng8@gmail.com>2023-08-03 15:30:11 -0700
commit761751950253e7222976125ffafec34a0ebe2a7c (patch)
tree0f44828c2ea6eb41d56ca9fd4532a80a2dae79a3
parent7daf11f8f69cc7562bc46285b9eb4952b6f73b8b (diff)
downloadnextcloud-server-761751950253e7222976125ffafec34a0ebe2a7c.tar.gz
nextcloud-server-761751950253e7222976125ffafec34a0ebe2a7c.zip
fix: construct background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php2
-rw-r--r--apps/files_reminders/lib/BackgroundJob/ScheduledNotifications.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php b/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
index cf55ee54509..afa8c514a0a 100644
--- a/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
+++ b/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
@@ -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);
diff --git a/apps/files_reminders/lib/BackgroundJob/ScheduledNotifications.php b/apps/files_reminders/lib/BackgroundJob/ScheduledNotifications.php
index 17b4c902029..15ae56f0698 100644
--- a/apps/files_reminders/lib/BackgroundJob/ScheduledNotifications.php
+++ b/apps/files_reminders/lib/BackgroundJob/ScheduledNotifications.php
@@ -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,