aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload/CleanupService.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Upload/CleanupService.php')
-rw-r--r--apps/dav/lib/Upload/CleanupService.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/dav/lib/Upload/CleanupService.php b/apps/dav/lib/Upload/CleanupService.php
index 2b939941c55..36b75280504 100644
--- a/apps/dav/lib/Upload/CleanupService.php
+++ b/apps/dav/lib/Upload/CleanupService.php
@@ -13,14 +13,10 @@ use OCP\BackgroundJob\IJobList;
use OCP\IUserSession;
class CleanupService {
- /** @var IUserSession */
- private $userSession;
- /** @var IJobList */
- private $jobList;
-
- public function __construct(IUserSession $userSession, IJobList $jobList) {
- $this->userSession = $userSession;
- $this->jobList = $jobList;
+ public function __construct(
+ private IUserSession $userSession,
+ private IJobList $jobList,
+ ) {
}
public function addJob(string $folder) {