forked from LiveCarta/yii2-aws-s3
fix some return type declarations
This commit is contained in:
@@ -13,13 +13,11 @@ trait Async
|
||||
private $isAsync = false;
|
||||
|
||||
/**
|
||||
* @param bool $async
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
final public function async(bool $async = true)
|
||||
final public function async()
|
||||
{
|
||||
$this->isAsync = $async;
|
||||
$this->isAsync = true;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user