fixed number mismatch declerations

This commit is contained in:
kremsy 2020-04-21 17:44:41 +02:00
parent ffd46c3cdd
commit 06b3893a27
3 changed files with 4 additions and 7 deletions

View File

@ -107,7 +107,7 @@ class MapActions implements CommunicationListener, UsageInformationAble {
//TODO message
// Force an EndMap on the MapQueue to set the next Map
$this->maniaControl->getMapManager()->getMapQueue()->endMap(null);
$this->maniaControl->getMapManager()->getMapQueue()->endMap();
// Ignore EndMap on MapQueue
$this->maniaControl->getMapManager()->getMapQueue()->dontQueueNextMapChange();

View File

@ -462,9 +462,8 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener,
if (!$setting->setting != self::SETTING_UPDATECHECK_INTERVAL) {
return;
}
$updateInterval = $setting->value;
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60, $updateInterval);
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60);
}
/**

View File

@ -387,9 +387,7 @@ class Paging extends ScriptFeature
if (!is_int($maxPageNumber)) {
$maxPageNumber = $maxPage->getPageNumber();
}
$pagingId = $maxPage->getControl()
->getId(true, true);
$pagingId = Builder::escapeText($maxPage->getControl()
->getId());
$pageLabelId = Builder::EMPTY_STRING;