aboutsummaryrefslogtreecommitdiffstats
path: root/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
diff options
context:
space:
mode:
authorFaraz Samapoor <f.samapoor@gmail.com>2023-06-23 23:03:56 +0330
committerFaraz Samapoor <fsa@adlas.at>2023-06-23 23:03:56 +0330
commite98cf3c37481ef92fbb2f50de16ea00d2958f3c3 (patch)
treecba89a58c0a9634e8d687a4d99a29b4158fa6aa8 /core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
parent877ddd28277e6bd263832209f4d22e713b4bdd87 (diff)
downloadnextcloud-server-e98cf3c37481ef92fbb2f50de16ea00d2958f3c3.tar.gz
nextcloud-server-e98cf3c37481ef92fbb2f50de16ea00d2958f3c3.zip
Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php')
-rw-r--r--core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
index df5d8de8eb7..e9096c99b44 100644
--- a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
+++ b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
@@ -32,13 +32,12 @@ use OCP\IConfig;
use Psr\Log\LoggerInterface;
class BackgroundCleanupUpdaterBackupsJob extends QueuedJob {
- protected IConfig $config;
- protected LoggerInterface $log;
-
- public function __construct(IConfig $config, LoggerInterface $log, ITimeFactory $time) {
+ public function __construct(
+ protected IConfig $config,
+ protected LoggerInterface $log,
+ ITimeFactory $time,
+ ) {
parent::__construct($time);
- $this->config = $config;
- $this->log = $log;
}
/**