summaryrefslogtreecommitdiffstats
path: root/lib/Controller/Controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/Controller.php')
-rw-r--r--lib/Controller/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/Controller.php b/lib/Controller/Controller.php
index 726ee8e7d..ab3c83a70 100644
--- a/lib/Controller/Controller.php
+++ b/lib/Controller/Controller.php
@@ -48,9 +48,9 @@ class Controller extends BaseController
}
/**
- * @return IUser
+ * @return IUser|null
*/
- protected function getUser()
+ protected function getUser(): ?IUser
{
if ($this->userSession === null) {
throw new NotLoggedInException();