From 761751950253e7222976125ffafec34a0ebe2a7c Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Mon, 31 Jul 2023 16:49:42 -0700 Subject: [PATCH] fix: construct background jobs Signed-off-by: Christopher Ng --- apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php | 2 +- .../lib/BackgroundJob/ScheduledNotifications.php | 2 +- 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, -- 2.39.5