Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;
}