changed direct public property access to using getter methods
phpdoc improvements
This commit is contained in:
@ -11,7 +11,7 @@ namespace ManiaControl\Database;
|
||||
*/
|
||||
class Config {
|
||||
/*
|
||||
* Public Properties
|
||||
* Public properties
|
||||
*/
|
||||
public $host = null;
|
||||
public $port = null;
|
||||
|
@ -18,15 +18,16 @@ class Database implements TimerListener {
|
||||
*/
|
||||
/** @var \mysqli $mysqli */
|
||||
public $mysqli = null;
|
||||
/** @var MigrationHelper $migrationHelper */
|
||||
public $migrationHelper = null;
|
||||
|
||||
/*
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
/** @var Config $config */
|
||||
private $config = null;
|
||||
/** @var MigrationHelper $migrationHelper */
|
||||
private $migrationHelper = null;
|
||||
|
||||
/**
|
||||
* Construct a new Database Connection
|
||||
|
@ -17,6 +17,7 @@ class MigrationHelper {
|
||||
/*
|
||||
* Private properties
|
||||
*/
|
||||
/** @var ManiaControl $maniaControl */
|
||||
private $maniaControl = null;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user