More PhpStorm inspections, import cleanup

This commit is contained in:
Dylan K. Taylor
2017-01-04 14:52:57 +00:00
parent 07f18d8f6c
commit 598e7aac8f
35 changed files with 73 additions and 98 deletions

View File

@ -53,7 +53,6 @@ class GenerationTask extends AsyncTask{
}
/** @var Chunk $chunk */
$chunk = $this->chunkClass;
$chunk = GenericChunk::fastDeserialize($this->chunk);
if($chunk === null){
//TODO error
@ -79,7 +78,6 @@ class GenerationTask extends AsyncTask{
return;
}
/** @var Chunk $chunk */
$chunk = $this->chunkClass;
$chunk = GenericChunk::fastDeserialize($this->chunk, $level->getProvider());
if($chunk === null){
//TODO error