Add proper types to User
This commit is contained in:
parent
56faf3fab1
commit
d44003b3ef
|
@ -75,10 +75,8 @@ class User extends DatabaseObjectDecorator implements \JsonSerializable
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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