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);