aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Config/ExternalMountPoint.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Config/ExternalMountPoint.php')
-rw-r--r--apps/files_external/lib/Config/ExternalMountPoint.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/apps/files_external/lib/Config/ExternalMountPoint.php b/apps/files_external/lib/Config/ExternalMountPoint.php
index fea1976780e..97569ed2913 100644
--- a/apps/files_external/lib/Config/ExternalMountPoint.php
+++ b/apps/files_external/lib/Config/ExternalMountPoint.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -11,11 +12,15 @@ use OCA\Files_External\Lib\StorageConfig;
class ExternalMountPoint extends MountPoint {
- /** @var StorageConfig */
- protected $storageConfig;
-
- public function __construct(StorageConfig $storageConfig, $storage, $mountpoint, $arguments = null, $loader = null, $mountOptions = null, $mountId = null) {
- $this->storageConfig = $storageConfig;
+ public function __construct(
+ protected StorageConfig $storageConfig,
+ $storage,
+ $mountpoint,
+ $arguments = null,
+ $loader = null,
+ $mountOptions = null,
+ $mountId = null,
+ ) {
parent::__construct($storage, $mountpoint, $arguments, $loader, $mountOptions, $mountId, ConfigAdapter::class);
}