mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Apply typehints to all AsyncTask methods
Since we're breaking API here anyway, no point in holding back on this.
This commit is contained in:
@ -36,7 +36,7 @@ class LightPopulationTask extends AsyncTask{
|
||||
$this->chunk = $chunk->fastSerialize();
|
||||
}
|
||||
|
||||
public function onRun(){
|
||||
public function onRun() : void{
|
||||
/** @var Chunk $chunk */
|
||||
$chunk = Chunk::fastDeserialize($this->chunk);
|
||||
|
||||
|
Reference in New Issue
Block a user