changed direct public property access to using getter methods
phpdoc improvements
This commit is contained in:
@ -47,6 +47,7 @@ class Configurator implements CallbackListener, CommandListener, ManialinkPageAn
|
||||
/*
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
/** @var ServerOptionsMenu $serverOptionsMenu */
|
||||
private $serverOptionsMenu = null;
|
||||
|
@ -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
|
||||
|
@ -40,6 +40,7 @@ class ManiaControlSettings implements ConfiguratorMenu, CallbackListener {
|
||||
/*
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
|
||||
/**
|
||||
|
@ -39,6 +39,7 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener {
|
||||
/*
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user