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.
2019 */
2120class UserMountAddedEvent extends Event {
2221 public function __construct (
23- public readonly IMountPoint | ICachedMountInfo $ mountPoint ,
22+ public readonly ICachedMountInfo $ mountPoint ,
2423 ) {
2524 parent ::__construct ();
2625 }
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.
2019 */
2120class UserMountRemovedEvent extends Event {
2221 public function __construct (
23- public readonly IMountPoint | ICachedMountInfo $ mountPoint ,
22+ public readonly ICachedMountInfo $ mountPoint ,
2423 ) {
2524 parent ::__construct ();
2625 }
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.
2019 */
2120class UserMountUpdatedEvent extends Event {
2221 public function __construct (
23- public readonly IMountPoint | ICachedMountInfo $ oldMountPoint ,
24- public readonly IMountPoint | ICachedMountInfo $ newMountPoint ,
22+ public readonly ICachedMountInfo $ oldMountPoint ,
23+ public readonly ICachedMountInfo $ newMountPoint ,
2524 ) {
2625 parent ::__construct ();
2726 }
You can’t perform that action at this time.
0 commit comments