diff options
-rw-r--r-- | lib/public/Files/Config/Event/UserMountAddedEvent.php | 3 | ||||
-rw-r--r-- | lib/public/Files/Config/Event/UserMountRemovedEvent.php | 3 | ||||
-rw-r--r-- | lib/public/Files/Config/Event/UserMountUpdatedEvent.php | 5 |
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 200d12daaf4..7dbb0eb544b 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. @@ -20,7 +19,7 @@ use OCP\Files\Mount\IMountPoint; */ class UserMountAddedEvent extends Event { 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 202c73ad38d..5360cace7d4 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. @@ -20,7 +19,7 @@ use OCP\Files\Mount\IMountPoint; */ class UserMountRemovedEvent extends Event { 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 78752e594e4..84103a57a3b 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. @@ -20,8 +19,8 @@ use OCP\Files\Mount\IMountPoint; */ class UserMountUpdatedEvent extends Event { public function __construct( - public readonly IMountPoint|ICachedMountInfo $oldMountPoint, - public readonly IMountPoint|ICachedMountInfo $newMountPoint, + public readonly ICachedMountInfo $oldMountPoint, + public readonly ICachedMountInfo $newMountPoint, ) { parent::__construct(); } |