File tree Expand file tree Collapse file tree
lib/public/Files/Config/Event Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212use OCP \EventDispatcher \Event ;
1313use OCP \Files \Config \ICachedMountInfo ;
14- use OCP \Files \Mount \IMountPoint ;
1514
1615/**
1716 * Event emitted when a user mount was added.
@@ -25,7 +24,7 @@ class UserMountAddedEvent extends Event {
2524 * @since 31.0.6
2625 */
2726 public function __construct (
28- public readonly IMountPoint | ICachedMountInfo $ mountPoint ,
27+ public readonly ICachedMountInfo $ mountPoint ,
2928 ) {
3029 parent ::__construct ();
3130 }
Original file line number Diff line number Diff line change 1111
1212use OCP \EventDispatcher \Event ;
1313use OCP \Files \Config \ICachedMountInfo ;
14- use OCP \Files \Mount \IMountPoint ;
1514
1615/**
1716 * Event emitted when a user mount was removed.
@@ -25,7 +24,7 @@ class UserMountRemovedEvent extends Event {
2524 * @since 31.0.6
2625 */
2726 public function __construct (
28- public readonly IMountPoint | ICachedMountInfo $ mountPoint ,
27+ public readonly ICachedMountInfo $ mountPoint ,
2928 ) {
3029 parent ::__construct ();
3130 }
Original file line number Diff line number Diff line change 1111
1212use OCP \EventDispatcher \Event ;
1313use OCP \Files \Config \ICachedMountInfo ;
14- use OCP \Files \Mount \IMountPoint ;
1514
1615/**
1716 * Event emitted when a user mount was moved.
@@ -25,8 +24,8 @@ class UserMountUpdatedEvent extends Event {
2524 * @since 31.0.6
2625 */
2726 public function __construct (
28- public readonly IMountPoint | ICachedMountInfo $ oldMountPoint ,
29- public readonly IMountPoint | ICachedMountInfo $ newMountPoint ,
27+ public readonly ICachedMountInfo $ oldMountPoint ,
28+ public readonly ICachedMountInfo $ newMountPoint ,
3029 ) {
3130 parent ::__construct ();
3231 }
You can’t perform that action at this time.
0 commit comments