fixed typos / spelling
This commit is contained in:
parent
36b76da5c9
commit
e87a454ba7
@ -39,7 +39,7 @@ class TimerManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregisters a Timer Listening
|
||||
* Unregister a Timer Listening
|
||||
* @param TimerListener $listener
|
||||
* @param $method
|
||||
* @return bool
|
||||
@ -55,7 +55,7 @@ class TimerManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a Timing Listening, note < 10ms it can get inaccurate
|
||||
* Register a Timing Listening, note < 10ms it can get inaccurate
|
||||
*
|
||||
* @param TimerListener $listener
|
||||
* @param $method
|
||||
|
@ -136,7 +136,7 @@ class Chat {
|
||||
* @return bool
|
||||
*/
|
||||
public function sendException(\Exception $exception, $login = null) {
|
||||
$message = "Exception occured: '{$exception->getMessage()}' ({$exception->getCode()})";
|
||||
$message = "Exception occurred: '{$exception->getMessage()}' ({$exception->getCode()})";
|
||||
$this->maniaControl->errorHandler->triggerDebugNotice($message);
|
||||
$this->sendError($message, $login);
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener {
|
||||
try {
|
||||
$this->maniaControl->client->setModeScriptSettings($loadedSettings);
|
||||
} catch(Exception $e) {
|
||||
trigger_error('Error occured: ' . $e->getMessage());
|
||||
trigger_error('Error occurred: ' . $e->getMessage());
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -181,7 +181,7 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
|
||||
$id = 0;
|
||||
foreach($serverSettings as $name => $value) {
|
||||
// Continue on CurrentMaxPlayers...
|
||||
$pos = strpos($name, "Current"); // TODO maybe current irgentwo anzeigen
|
||||
$pos = strpos($name, "Current"); // TODO maybe display current somewhere
|
||||
if ($pos !== false) {
|
||||
continue;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ abstract class Formatter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Formats a Time to H:M:S
|
||||
* Format a Time to H:M:S
|
||||
*
|
||||
* @param int $seconds
|
||||
* @return string
|
||||
@ -54,9 +54,9 @@ abstract class Formatter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Formatts a Elapset time String (2 days ago...) by a given timestamp
|
||||
* Format an elapsed time String (2 days ago...) by a given timestamp
|
||||
*
|
||||
* @param $ptime
|
||||
* @param int $ptime
|
||||
* @return string
|
||||
*/
|
||||
public static function time_elapsed_string($ptime) {
|
||||
@ -79,7 +79,7 @@ abstract class Formatter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Formats the given Time (Seconds) to hh:mm:ss
|
||||
* Format the given Time (Seconds) to hh:mm:ss
|
||||
*
|
||||
* @param int $seconds
|
||||
* @return string
|
||||
|
@ -151,7 +151,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
|
||||
$i = 0;
|
||||
$y = $height / 2 - 16;
|
||||
$pageFrames = array();
|
||||
foreach($maps as $map) { //TODO order possabilities
|
||||
foreach($maps as $map) { //TODO order possibilities
|
||||
/** @var MxMapInfo $map */
|
||||
if (!isset($pageFrame)) {
|
||||
$pageFrame = new Frame();
|
||||
|
@ -118,7 +118,7 @@ class ManiaExchangeManager {
|
||||
*/
|
||||
public function fetchManiaExchangeMapInformations($map = null) {
|
||||
if (!$map) {
|
||||
//Fetch Informations for whole Maplist
|
||||
//Fetch Information for whole MapList
|
||||
$maps = $this->maniaControl->mapManager->getMaps();
|
||||
} else {
|
||||
//Fetch Information for a single map
|
||||
|
Loading…
Reference in New Issue
Block a user