fixed job returns
This commit is contained in:
@@ -33,6 +33,6 @@ class CancelBill extends Job
|
||||
$this->bill->status = 'cancelled';
|
||||
$this->bill->save();
|
||||
|
||||
return true;
|
||||
return $this->bill;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ class DeleteBill extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return Bill
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user