fixed job returns
This commit is contained in:
parent
a3dff71c81
commit
e363a341ba
@ -22,7 +22,7 @@ class DeletePermission extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return boolean
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ class DeleteRole extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return boolean
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ class DeleteUser extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return boolean
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ class DeleteTransfer extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return mixed
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ class DeleteCompany extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return Company
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -33,6 +33,6 @@ class CancelInvoice extends Job
|
||||
$this->invoice->status = 'cancelled';
|
||||
$this->invoice->save();
|
||||
|
||||
return true;
|
||||
return $this->invoice;
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ class DeleteInvoice extends Job
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return Invoice
|
||||
* @return boolean|Exception
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user