Added some missing typehints

This commit is contained in:
Dylan K. Taylor
2018-06-10 17:18:55 +01:00
parent 89643ff9af
commit c4c6c58615
19 changed files with 27 additions and 27 deletions

View File

@ -2343,7 +2343,7 @@ class Server{
$p->dataPacket($pk);
}
private function checkTickUpdates($currentTick, $tickTime){
private function checkTickUpdates(int $currentTick, float $tickTime) : void{
foreach($this->players as $p){
if(!$p->loggedIn and ($tickTime - $p->creationTime) >= 10){
$p->close("", "Login timeout");