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/ApiController.php | |
parent | cc582c5dc8f5c5ec7052f4e2cab8530b9307afaa (diff) |
fixes done by psalm
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Controller/ApiController.php')
-rw-r--r-- | lib/Controller/ApiController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 1ffa1272d..a434f8de7 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -49,9 +49,9 @@ class ApiController extends BaseApiController } /** - * @return IUser + * @return IUser|null */ - protected function getUser() + protected function getUser(): ?IUser { if ($this->userSession === null) { throw new NotLoggedInException(); |