refactor: cosmetic changes (#6123)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Jobs;
|
||||
|
||||
use Throwable;
|
||||
use App\Services\BaseService;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use App\Services\QueuableService;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
@@ -39,10 +38,10 @@ class ServiceQueue implements ShouldQueue
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param BaseService $service
|
||||
* @param QueuableService $service
|
||||
* @param array|null $data
|
||||
*/
|
||||
public function __construct(BaseService $service, array $data = null)
|
||||
public function __construct(QueuableService $service, array $data = null)
|
||||
{
|
||||
if (! $service instanceof QueuableService) {
|
||||
throw new \Exception('Service is not queuable');
|
||||
|
||||
Reference in New Issue
Block a user