changed direct public property access to using getter methods
phpdoc improvements
This commit is contained in:
@ -13,8 +13,9 @@ use ManiaControl\ManiaControl;
|
||||
*/
|
||||
class LibXmlRpcCallbacks implements CallbackListener {
|
||||
/*
|
||||
* Private Properties
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
|
||||
/**
|
||||
|
@ -22,8 +22,9 @@ class ShootManiaCallbacks implements CallbackListener {
|
||||
const CB_TIMEATTACK_ONFINISH = 'TimeAttack_OnFinish';
|
||||
|
||||
/*
|
||||
* Private Properties
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
|
||||
/**
|
||||
@ -48,7 +49,7 @@ class ShootManiaCallbacks implements CallbackListener {
|
||||
public function handleScriptCallbacks($name, $data) {
|
||||
switch ($name) {
|
||||
case 'LibXmlRpc_Rankings':
|
||||
$this->maniaControl->server->rankingManager->updateRankings($data[0]);
|
||||
$this->maniaControl->server->getRankingManager()->updateRankings($data[0]);
|
||||
break;
|
||||
case 'LibXmlRpc_Scores':
|
||||
$this->maniaControl->callbackManager->triggerCallback(Callbacks::SCORES, $data[0]);
|
||||
|
@ -13,9 +13,11 @@ use ManiaControl\ManiaControl;
|
||||
*/
|
||||
class TimerManager {
|
||||
/*
|
||||
* Private Properties
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
/** @var TimerListening[] $timerListenings */
|
||||
private $timerListenings = array();
|
||||
|
||||
/**
|
||||
|
@ -15,8 +15,9 @@ use ManiaControl\Utils\Formatter;
|
||||
*/
|
||||
class TrackManiaCallbacks implements CallbackListener {
|
||||
/*
|
||||
* Private Properties
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user