mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Add proper types to User
This commit is contained in:
parent
56faf3fab1
commit
d44003b3ef
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user