aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Event/ShareMountedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Event/ShareMountedEvent.php')
-rw-r--r--apps/files_sharing/lib/Event/ShareMountedEvent.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/files_sharing/lib/Event/ShareMountedEvent.php b/apps/files_sharing/lib/Event/ShareMountedEvent.php
index 64bc7cc3f4b..0f56873cb2c 100644
--- a/apps/files_sharing/lib/Event/ShareMountedEvent.php
+++ b/apps/files_sharing/lib/Event/ShareMountedEvent.php
@@ -13,15 +13,13 @@ use OCP\EventDispatcher\Event;
use OCP\Files\Mount\IMountPoint;
class ShareMountedEvent extends Event {
- /** @var SharedMount */
- private $mount;
-
/** @var IMountPoint[] */
private $additionalMounts = [];
- public function __construct(SharedMount $mount) {
+ public function __construct(
+ private SharedMount $mount,
+ ) {
parent::__construct();
- $this->mount = $mount;
}
public function getMount(): SharedMount {