mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
Add missing PHPDoc in InvalidateMountCacheEvent
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
d92c7bddce
commit
91ab4e1df4
1 changed files with 10 additions and 0 deletions
|
|
@ -34,11 +34,21 @@ use OCP\IUser;
|
|||
class InvalidateMountCacheEvent extends Event {
|
||||
private ?IUser $user;
|
||||
|
||||
/**
|
||||
* @param IUser|null $user user
|
||||
*
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function __construct(?IUser $user) {
|
||||
parent::__construct();
|
||||
$this->user = $user;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return IUser|null user
|
||||
*
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function getUser(): ?IUser {
|
||||
return $this->user;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue