added, fixed & improved PHPDoc & Type Hints
This commit is contained in:
@ -113,9 +113,10 @@ class SimpleStatsList implements ManialinkPageAnswerListener, CallbackListener,
|
||||
|
||||
|
||||
/**
|
||||
* Show the PlayerList Widget to the Player
|
||||
* Show the StatsList Widget to the Player
|
||||
*
|
||||
* @param Player $player
|
||||
* @param string $order
|
||||
*/
|
||||
public function showStatsList(Player $player, $order = PlayerManager::STAT_SERVERTIME) {
|
||||
$height = $this->maniaControl->manialinkManager->styleManager->getListWidgetsHeight();
|
||||
|
@ -122,9 +122,10 @@ class StatisticCollector implements CallbackListener {
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle Player Shoots
|
||||
* Handle Player Shots
|
||||
*
|
||||
* @param $login
|
||||
* @param string $login
|
||||
* @param int $weaponNumber
|
||||
*/
|
||||
private function handleOnShoot($login, $weaponNumber) {
|
||||
if (!isset($this->onShootArray[$login])) {
|
||||
@ -165,9 +166,10 @@ class StatisticCollector implements CallbackListener {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Weapon stat
|
||||
* Get the Weapon stat
|
||||
*
|
||||
* @param $weaponNumber
|
||||
* @param int $weaponNumber
|
||||
* @param bool $shot
|
||||
* @return string
|
||||
*/
|
||||
private function getWeaponStat($weaponNumber, $shot = true) {
|
||||
|
Reference in New Issue
Block a user