mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
added native types to closures (phpstan-strict-rules)
This commit is contained in:
@@ -128,7 +128,7 @@ class RCON{
|
||||
}
|
||||
|
||||
$this->instance->response = TextFormat::clean($response->getMessage());
|
||||
$this->instance->synchronized(function(RCONInstance $thread){
|
||||
$this->instance->synchronized(function(RCONInstance $thread) : void{
|
||||
$thread->notify();
|
||||
}, $this->instance);
|
||||
}
|
||||
|
Reference in New Issue
Block a user