From d44003b3efc2dd33ec2c5a4d467e954982e8af07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 4 Mar 2022 19:14:52 +0100 Subject: [PATCH] Add proper types to User --- files/lib/data/user/User.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/lib/data/user/User.class.php b/files/lib/data/user/User.class.php index 88486d8..26ed3e9 100644 --- a/files/lib/data/user/User.class.php +++ b/files/lib/data/user/User.class.php @@ -75,10 +75,8 @@ class User extends DatabaseObjectDecorator implements \JsonSerializable /** * Returns whether the user is in the given room. - * - * @return boolean */ - public function isInRoom(Room $room, $skipCache = false) + public function isInRoom(Room $room, $skipCache = false): bool { $assoc = $this->getRoomAssociations($skipCache);