aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Capabilities.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Capabilities.php')
-rw-r--r--apps/files_sharing/lib/Capabilities.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php
index 9afa077fac3..1f4219ed1a5 100644
--- a/apps/files_sharing/lib/Capabilities.php
+++ b/apps/files_sharing/lib/Capabilities.php
@@ -18,14 +18,10 @@ use OCP\Share\IManager;
*/
class Capabilities implements ICapability {
- /** @var IConfig */
- private $config;
- /** @var IManager */
- private $shareManager;
-
- public function __construct(IConfig $config, IManager $shareManager) {
- $this->config = $config;
- $this->shareManager = $shareManager;
+ public function __construct(
+ private IConfig $config,
+ private IManager $shareManager,
+ ) {
}
/**