phpdoc improvements
This commit is contained in:
1 parent
30459811c0
commit
1a8c6ad036
9 files changed
+194
-122
No files matched your search
@@ -515,9 +515,13 @@ class PlayerActions {
|
||||
/**
|
||||
* Check if a Player is muted
|
||||
*
|
||||
* @deprecated see Player/isMuted()
|
||||
* @deprecated
|
||||
* @see Player::isMuted()
|
||||
*/
|
||||
public function isPlayerMuted($login) {
|
||||
return $this->maniaControl->getPlayerManager()->getPlayer($login)->isMuted();
|
||||
if ($player = $this->maniaControl->getPlayerManager()->getPlayer($login)) {
|
||||
return $player->isMuted();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user