1
0

fix some return type declarations

This commit is contained in:
frostealth
2016-04-29 00:29:23 +06:00
parent 053120e2fd
commit 9749555fbe
5 changed files with 9 additions and 11 deletions

View File

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