coding & phpdoc improvements continued

This commit is contained in:
Steffen Schröder
2014-05-27 22:44:22 +02:00
parent 9e016cc770
commit c284feb843
12 changed files with 23 additions and 40 deletions

View File

@ -671,7 +671,6 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
public function updateWidget() {
$players = $this->maniaControl->playerManager->getPlayers();
foreach ($players as $player) {
/** @var Player $player */
$currentPage = $player->getCache($this, self::CACHE_CURRENT_PAGE);
if ($currentPage !== null) {
$this->showMapList($player, null, $currentPage);