aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Command/CleanupRemoteStorages.php')
-rw-r--r--apps/files_sharing/lib/Command/CleanupRemoteStorages.php18
1 files changed, 5 insertions, 13 deletions
diff --git a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
index bb7f374de58..809481e5c0f 100644
--- a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
+++ b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud GmbH.
@@ -20,19 +21,10 @@ use Symfony\Component\Console\Output\OutputInterface;
*/
class CleanupRemoteStorages extends Command {
- /**
- * @var IDBConnection
- */
- protected $connection;
-
- /**
- * @var ICloudIdManager
- */
- private $cloudIdManager;
-
- public function __construct(IDBConnection $connection, ICloudIdManager $cloudIdManager) {
- $this->connection = $connection;
- $this->cloudIdManager = $cloudIdManager;
+ public function __construct(
+ protected IDBConnection $connection,
+ private ICloudIdManager $cloudIdManager,
+ ) {
parent::__construct();
}