Skip to content

Commit 91ab4e1

Browse files
committed
Add missing PHPDoc in InvalidateMountCacheEvent
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 parent d92c7bd commit 91ab4e1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lib/public/Files/Events/InvalidateMountCacheEvent.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,21 @@
3434
class InvalidateMountCacheEvent extends Event {
3535
private ?IUser $user;
3636

37+
/**
38+
* @param IUser|null $user user
39+
*
40+
* @since 24.0.0
41+
*/
3742
public function __construct(?IUser $user) {
3843
parent::__construct();
3944
$this->user = $user;
4045
}
4146

47+
/**
48+
* @return IUser|null user
49+
*
50+
* @since 24.0.0
51+
*/
4252
public function getUser(): ?IUser {
4353
return $this->user;
4454
}

0 commit comments

Comments
 (0)