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:
Dylan K. Taylor
2018-09-10 15:54:01 +01:00
parent d62e00cc74
commit 37190c9a65
11 changed files with 23 additions and 28 deletions

View File

@ -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);