Add missing PHPDoc in InvalidateMountCacheEvent

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
pull/31265/head
Vincent Petry 4 years ago
parent d92c7bddce
commit 91ab4e1df4
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
  1. 10
      lib/public/Files/Events/InvalidateMountCacheEvent.php

@ -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…
Cancel
Save