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

@ -47,6 +47,7 @@ class Configurator implements CallbackListener, CommandListener, ManialinkPageAn
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
/** @var ServerOptionsMenu $serverOptionsMenu */
private $serverOptionsMenu = null;

View File

@ -15,14 +15,14 @@ use ManiaControl\Players\Player;
interface ConfiguratorMenu {
/**
* Get the Menu Title
* Get the menu title
*
* @return string
*/
public static function getTitle();
/**
* Get the Configurator Menu Frame
* Get the configurator menu frame
*
* @param float $width
* @param float $height
@ -33,7 +33,7 @@ interface ConfiguratorMenu {
public function getMenu($width, $height, Script $script, Player $player);
/**
* Save the Config Data
* Save the config data
*
* @param array $configData
* @param Player $player

View File

@ -40,6 +40,7 @@ class ManiaControlSettings implements ConfiguratorMenu, CallbackListener {
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
/**

View File

@ -39,6 +39,7 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener {
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
/**