Add missing PHPDoc in InvalidateMountCacheEvent

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
Vincent Petry 2022-03-24 21:02:25 +01:00
parent d92c7bddce
commit 91ab4e1df4
No known key found for this signature in database
GPG key ID: E055D6A4D513575C

View file

@ -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;
}