Improved PHPDoc, Type Hints & Parameter Names

This commit is contained in:
Steffen Schröder
2014-05-13 16:40:05 +02:00
parent 3e69e03292
commit 2a705e05d9
27 changed files with 434 additions and 447 deletions

View File

@ -164,11 +164,9 @@ class ManiaControl implements CommandListener, TimerListener {
}
/**
* Checks connection every xxx Minutes
*
* @param $time
* Check Connection
*/
public function checkConnection($time) {
public function checkConnection() {
if ($this->client->getIdleTime() > 180) {
$this->client->getServerName();
}