diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2021-01-06 20:16:33 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-01-08 22:45:10 +0100 |
commit | 7180e11bdb3f27a1a282a137ca95279b39944b5b (patch) | |
tree | 17fd8152b8fabcb760395b45b5e47e66022304a9 /lib/Controller/Controller.php | |
parent | cc582c5dc8f5c5ec7052f4e2cab8530b9307afaa (diff) |
fixes done by psalm
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Controller/Controller.php')
-rw-r--r-- | lib/Controller/Controller.php | 4 |
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(); |