From: Christopher Ng Date: Mon, 31 Jul 2023 23:49:42 +0000 (-0700) Subject: fix: construct background jobs X-Git-Tag: v28.0.0beta1~601^2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=761751950253e7222976125ffafec34a0ebe2a7c;p=nextcloud-server.git fix: construct background jobs Signed-off-by: Christopher Ng --- 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,