phpdoc armageddon for master, pass 1

This commit is contained in:
Dylan K. Taylor
2020-01-22 11:55:03 +00:00
parent 4bae3baa74
commit 67bcc1c0fb
397 changed files with 0 additions and 5391 deletions

View File

@@ -96,8 +96,6 @@ abstract class AsyncTask extends \Threaded{
/**
* Returns whether this task has finished executing, whether successfully or not. This differs from isRunning()
* because it is not true prior to task execution.
*
* @return bool
*/
public function isFinished() : bool{
return $this->finished or $this->isCrashed();
@@ -118,9 +116,6 @@ abstract class AsyncTask extends \Threaded{
return $this->cancelRun;
}
/**
* @return bool
*/
public function hasResult() : bool{
return $this->result !== null;
}
@@ -136,9 +131,6 @@ abstract class AsyncTask extends \Threaded{
$this->submitted = true;
}
/**
* @return bool
*/
public function isSubmitted() : bool{
return $this->submitted;
}
@@ -210,7 +202,6 @@ abstract class AsyncTask extends \Threaded{
* Objects stored in this storage can be retrieved using fetchLocal() on the same thread that this method was called
* from.
*
* @param string $key
* @param mixed $complexData the data to store
*/
protected function storeLocal(string $key, $complexData) : void{
@@ -232,8 +223,6 @@ abstract class AsyncTask extends \Threaded{
* If you used storeLocal(), you can use this on the same thread to fetch data stored. This should be used during
* onProgressUpdate() and onCompletion() to fetch thread-local data stored on the parent thread.
*
* @param string $key
*
* @return mixed
*
* @throws \InvalidArgumentException if no data were stored by this AsyncTask instance.