1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-16 16:30:09 +00:00

Add proper types to User

This commit is contained in:
Tim Düsterhus 2022-03-04 19:14:52 +01:00
parent 56faf3fab1
commit d44003b3ef
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF

View File

@ -75,10 +75,8 @@ public function getRooms($skipCache = false)
/** /**
* Returns whether the user is in the given room. * 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); $assoc = $this->getRoomAssociations($skipCache);