mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
chore(public): Remove unused union type for user mount events
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
1fd2d4d435
commit
baeaaf09dc
3 changed files with 4 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue