diff --git a/app/Classes/Jobs/ListBookings.php b/app/Classes/Jobs/ListBookingsJob.php similarity index 94% rename from app/Classes/Jobs/ListBookings.php rename to app/Classes/Jobs/ListBookingsJob.php index 6be0c9c7..ac6d30ea 100644 --- a/app/Classes/Jobs/ListBookings.php +++ b/app/Classes/Jobs/ListBookingsJob.php @@ -12,7 +12,7 @@ use Illuminate\Queue\SerializesModels; use App\Models\JobResult; use Illuminate\Support\Facades\Log; -class ListBookings implements ShouldQueue +class ListBookingsJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; @@ -22,7 +22,7 @@ class ListBookings implements ShouldQueue private $jobId; /** - * ListBookings constructor. + * ListBookingsJob constructor. * @param ListGenericJobObject $listGenericJobObject */ public function __construct(ListGenericJobObject $listGenericJobObject) diff --git a/app/Classes/Jobs/ListDocuments.php b/app/Classes/Jobs/ListDocumentsJob.php similarity index 97% rename from app/Classes/Jobs/ListDocuments.php rename to app/Classes/Jobs/ListDocumentsJob.php index e4707f49..fdd012cd 100644 --- a/app/Classes/Jobs/ListDocuments.php +++ b/app/Classes/Jobs/ListDocumentsJob.php @@ -12,7 +12,7 @@ use Illuminate\Queue\SerializesModels; use App\Models\JobResult; use Illuminate\Support\Facades\Log; -class ListDocuments implements ShouldQueue +class ListDocumentsJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; diff --git a/app/Classes/Jobs/ListTransactions.php b/app/Classes/Jobs/ListTransactionsJob.php similarity index 96% rename from app/Classes/Jobs/ListTransactions.php rename to app/Classes/Jobs/ListTransactionsJob.php index 67c4a6b9..a1d8545e 100644 --- a/app/Classes/Jobs/ListTransactions.php +++ b/app/Classes/Jobs/ListTransactionsJob.php @@ -12,7 +12,7 @@ use Illuminate\Queue\SerializesModels; use App\Models\JobResult; use Illuminate\Support\Facades\Log; -class ListTransactions implements ShouldQueue +class ListTransactionsJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; diff --git a/app/Classes/Modules/Bookings/ControllersLogic/ListBookingJobLogic.php b/app/Classes/Modules/Bookings/ControllersLogic/ListBookingJobLogic.php index 5a7d0994..d927e5c6 100644 --- a/app/Classes/Modules/Bookings/ControllersLogic/ListBookingJobLogic.php +++ b/app/Classes/Modules/Bookings/ControllersLogic/ListBookingJobLogic.php @@ -4,7 +4,7 @@ namespace App\Classes\Modules\Bookings\ControllersLogic; use App\Classes\General\Abstracts\AbstractControllerLogic; -use App\Classes\Jobs\ListBookings; +use App\Classes\Jobs\ListBookingsJob; use App\Classes\Modules\Bookings\Standards\Rules\CanListBookings; use App\Classes\Modules\Generic\DataTransferObjects\ListGenericJobObject; use ErrorException; @@ -45,7 +45,7 @@ class ListBookingJobLogic extends AbstractControllerLogic $userInfo ); - ListBookings::dispatch($listGenericJobObject); + ListBookingsJob::dispatch($listGenericJobObject); $result = []; $result['job_id'] = $jobId; diff --git a/app/Classes/Modules/Documents/ControllersLogic/ListDocumentJobLogic.php b/app/Classes/Modules/Documents/ControllersLogic/ListDocumentJobLogic.php index 4328ded8..838572a4 100644 --- a/app/Classes/Modules/Documents/ControllersLogic/ListDocumentJobLogic.php +++ b/app/Classes/Modules/Documents/ControllersLogic/ListDocumentJobLogic.php @@ -6,7 +6,7 @@ namespace App\Classes\Modules\Documents\ControllersLogic; use App\Classes\General\Abstracts\AbstractControllerLogic; use App\Classes\Modules\Documents\Services\ListsDocuments; use App\Classes\Modules\Generic\DataTransferObjects\ListGenericJobObject; -use App\Classes\Jobs\ListDocuments; +use App\Classes\Jobs\ListDocumentsJob; use App\Http\Resources\DocumentResource; use ErrorException; use Illuminate\Http\JsonResponse; @@ -50,7 +50,7 @@ class ListDocumentJobLogic extends AbstractControllerLogic $userInfo ); - ListDocuments::dispatch($listGenericJobObject); + ListDocumentsJob::dispatch($listGenericJobObject); //cief todo: remove comments // // Create your job instance with delay, so we can back here within delay and take control in our hands. diff --git a/app/Classes/Modules/Transactions/ControllersLogic/ListTransactionsJobLogic.php b/app/Classes/Modules/Transactions/ControllersLogic/ListTransactionsJobLogic.php index 5ea497a0..1eafe7e4 100644 --- a/app/Classes/Modules/Transactions/ControllersLogic/ListTransactionsJobLogic.php +++ b/app/Classes/Modules/Transactions/ControllersLogic/ListTransactionsJobLogic.php @@ -4,7 +4,7 @@ namespace App\Classes\Modules\Transactions\ControllersLogic; use App\Classes\General\Abstracts\AbstractControllerLogic; -use App\Classes\Jobs\ListTransactions; +use App\Classes\Jobs\ListTransactionsJob; use App\Classes\Modules\Generic\DataTransferObjects\ListGenericJobObject; use ErrorException; use Illuminate\Http\JsonResponse; @@ -36,7 +36,7 @@ class ListTransactionsJobLogic extends AbstractControllerLogic $jobId ); - ListTransactions::dispatch($listGenericJobObject); + ListTransactionsJob::dispatch($listGenericJobObject); $result = []; $result['job_id'] = $jobId; diff --git a/app/Http/Controllers/Documents/ListDocumentsJobController.php b/app/Http/Controllers/Documents/ListDocumentsJobController.php index 394f15bd..8b763085 100644 --- a/app/Http/Controllers/Documents/ListDocumentsJobController.php +++ b/app/Http/Controllers/Documents/ListDocumentsJobController.php @@ -5,7 +5,6 @@ namespace App\Http\Controllers\Documents; use App\Classes\Modules\Documents\ControllersLogic\ListDocumentJobLogic; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; -use App\Classes\Jobs\ListDocuments; class ListDocumentsJobController {