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

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

View File

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

View File

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

View File

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

View File

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

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()
{

View File

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

View File

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