network: explicitly specify @return void

This commit is contained in:
Dylan K. Taylor
2020-01-18 19:35:01 +00:00
parent ca86ec2ec2
commit b42966f61b
15 changed files with 122 additions and 0 deletions

View File

@@ -100,6 +100,9 @@ class RCON{
$this->server->getLogger()->info("RCON running on $addr:$port");
}
/**
* @return void
*/
public function stop(){
$this->instance->close();
socket_write($this->ipcMainSocket, "\x00"); //make select() return
@@ -110,6 +113,9 @@ class RCON{
@socket_close($this->ipcThreadSocket);
}
/**
* @return void
*/
public function check(){
$response = new RemoteConsoleCommandSender();
$command = $this->instance->cmd;