aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User/Events/UserLoggedOutEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/User/Events/UserLoggedOutEvent.php')
-rw-r--r--lib/public/User/Events/UserLoggedOutEvent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/User/Events/UserLoggedOutEvent.php b/lib/public/User/Events/UserLoggedOutEvent.php
index c1b97fec29c..fa22b1bd53d 100644
--- a/lib/public/User/Events/UserLoggedOutEvent.php
+++ b/lib/public/User/Events/UserLoggedOutEvent.php
@@ -41,7 +41,7 @@ class UserLoggedOutEvent extends Event {
/**
* @since 18.0.0
*/
- public function __construct(IUser $user = null) {
+ public function __construct(?IUser $user = null) {
parent::__construct();
$this->user = $user;
}