aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/public/Files/Config/Event/UserMountAddedEvent.php3
-rw-r--r--lib/public/Files/Config/Event/UserMountRemovedEvent.php3
-rw-r--r--lib/public/Files/Config/Event/UserMountUpdatedEvent.php5
3 files changed, 4 insertions, 7 deletions
diff --git a/lib/public/Files/Config/Event/UserMountAddedEvent.php b/lib/public/Files/Config/Event/UserMountAddedEvent.php
index 57d8aff72ff..e8428372362 100644
--- a/lib/public/Files/Config/Event/UserMountAddedEvent.php
+++ b/lib/public/Files/Config/Event/UserMountAddedEvent.php
@@ -11,7 +11,6 @@ namespace OCP\Files\Config\Event;
use OCP\EventDispatcher\Event;
use OCP\Files\Config\ICachedMountInfo;
-use OCP\Files\Mount\IMountPoint;
/**
* Event emitted when a user mount was added.
@@ -25,7 +24,7 @@ class UserMountAddedEvent extends Event {
* @since 31.0.6
*/
public function __construct(
- public readonly IMountPoint|ICachedMountInfo $mountPoint,
+ public readonly ICachedMountInfo $mountPoint,
) {
parent::__construct();
}
diff --git a/lib/public/Files/Config/Event/UserMountRemovedEvent.php b/lib/public/Files/Config/Event/UserMountRemovedEvent.php
index 5e8791777fb..e7f5fdb9d69 100644
--- a/lib/public/Files/Config/Event/UserMountRemovedEvent.php
+++ b/lib/public/Files/Config/Event/UserMountRemovedEvent.php
@@ -11,7 +11,6 @@ namespace OCP\Files\Config\Event;
use OCP\EventDispatcher\Event;
use OCP\Files\Config\ICachedMountInfo;
-use OCP\Files\Mount\IMountPoint;
/**
* Event emitted when a user mount was removed.
@@ -25,7 +24,7 @@ class UserMountRemovedEvent extends Event {
* @since 31.0.6
*/
public function __construct(
- public readonly IMountPoint|ICachedMountInfo $mountPoint,
+ public readonly ICachedMountInfo $mountPoint,
) {
parent::__construct();
}
diff --git a/lib/public/Files/Config/Event/UserMountUpdatedEvent.php b/lib/public/Files/Config/Event/UserMountUpdatedEvent.php
index 3778e1a57cd..90c580057e0 100644
--- a/lib/public/Files/Config/Event/UserMountUpdatedEvent.php
+++ b/lib/public/Files/Config/Event/UserMountUpdatedEvent.php
@@ -11,7 +11,6 @@ namespace OCP\Files\Config\Event;
use OCP\EventDispatcher\Event;
use OCP\Files\Config\ICachedMountInfo;
-use OCP\Files\Mount\IMountPoint;
/**
* Event emitted when a user mount was moved.
@@ -25,8 +24,8 @@ class UserMountUpdatedEvent extends Event {
* @since 31.0.6
*/
public function __construct(
- public readonly IMountPoint|ICachedMountInfo $oldMountPoint,
- public readonly IMountPoint|ICachedMountInfo $newMountPoint,
+ public readonly ICachedMountInfo $oldMountPoint,
+ public readonly ICachedMountInfo $newMountPoint,
) {
parent::__construct();
}