fixed job returns

This commit is contained in:
denisdulici
2020-03-28 22:50:06 +03:00
parent a3dff71c81
commit e363a341ba
9 changed files with 9 additions and 9 deletions

View File

@@ -33,6 +33,6 @@ class CancelBill extends Job
$this->bill->status = 'cancelled';
$this->bill->save();
return true;
return $this->bill;
}
}

View File

@@ -23,7 +23,7 @@ class DeleteBill extends Job
/**
* Execute the job.
*
* @return Bill
* @return boolean|Exception
*/
public function handle()
{