changed direct public property access to using getter methods

phpdoc improvements
This commit is contained in:
Steffen Schröder
2014-08-02 22:31:46 +02:00
parent 58a668cf65
commit e560919096
70 changed files with 450 additions and 271 deletions

View File

@ -53,8 +53,9 @@ class StatisticCollector implements CallbackListener {
const WEAPON_ARROW = 5;
/*
* Private Properties
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
private $onShootArray = array();
@ -114,7 +115,7 @@ class StatisticCollector implements CallbackListener {
return;
}
$leaders = $this->maniaControl->server->rankingManager->getLeaders();
$leaders = $this->maniaControl->server->getRankingManager()->getLeaders();
foreach ($leaders as $leaderLogin) {
$leader = $this->maniaControl->playerManager->getPlayer($leaderLogin);