AsyncTask: remove $serialize parameter from setResult()

Whether serialization is necessary can be determined automatically based on the type of variable.
This commit is contained in:
Dylan K. Taylor
2018-11-03 16:56:24 +00:00
parent d257d36e55
commit 9caf62778c
4 changed files with 5 additions and 7 deletions

View File

@ -51,7 +51,7 @@ class CompressBatchedTask extends AsyncTask{
$batch->setCompressionLevel($this->level);
$batch->encode();
$this->setResult($batch->buffer, false);
$this->setResult($batch->buffer);
}
public function onCompletion(Server $server){