Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/public/Files/Config/Event/UserMountAddedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use OCP\EventDispatcher\Event;
use OCP\Files\Config\ICachedMountInfo;
use OCP\Files\Mount\IMountPoint;

/**
* Event emitted when a user mount was added.
Expand All @@ -20,7 +19,7 @@
*/
class UserMountAddedEvent extends Event {
public function __construct(
public readonly IMountPoint|ICachedMountInfo $mountPoint,
public readonly ICachedMountInfo $mountPoint,
) {
parent::__construct();
}
Expand Down
3 changes: 1 addition & 2 deletions lib/public/Files/Config/Event/UserMountRemovedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use OCP\EventDispatcher\Event;
use OCP\Files\Config\ICachedMountInfo;
use OCP\Files\Mount\IMountPoint;

/**
* Event emitted when a user mount was removed.
Expand All @@ -20,7 +19,7 @@
*/
class UserMountRemovedEvent extends Event {
public function __construct(
public readonly IMountPoint|ICachedMountInfo $mountPoint,
public readonly ICachedMountInfo $mountPoint,
) {
parent::__construct();
}
Expand Down
5 changes: 2 additions & 3 deletions lib/public/Files/Config/Event/UserMountUpdatedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use OCP\EventDispatcher\Event;
use OCP\Files\Config\ICachedMountInfo;
use OCP\Files\Mount\IMountPoint;

/**
* Event emitted when a user mount was moved.
Expand All @@ -20,8 +19,8 @@
*/
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();
}
Expand Down
Loading