aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-03-24 21:02:25 +0100
committerVincent Petry <vincent@nextcloud.com>2022-03-24 21:02:25 +0100
commit91ab4e1df4f3e234c5e4941d89cf0d9f19166c18 (patch)
tree3e7ec09b1129c965b13d0c332a13feae53aab3de /lib/public
parentd92c7bddce94894e077a233a0bfb07f6439418af (diff)
downloadnextcloud-server-91ab4e1df4f3e234c5e4941d89cf0d9f19166c18.tar.gz
nextcloud-server-91ab4e1df4f3e234c5e4941d89cf0d9f19166c18.zip
Add missing PHPDoc in InvalidateMountCacheEvent
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/Events/InvalidateMountCacheEvent.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Files/Events/InvalidateMountCacheEvent.php b/lib/public/Files/Events/InvalidateMountCacheEvent.php
index ea8a9ea2788..6508e168d4c 100644
--- a/lib/public/Files/Events/InvalidateMountCacheEvent.php
+++ b/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;
}