fixed override declare class issue

This commit is contained in:
Cihan Şentürk 2024-03-01 10:26:08 +03:00 committed by GitHub
parent 18f9ee4518
commit 07ef68281b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,10 @@ class Queue extends Provider
$company->makeCurrent();
$this->registerModules();
// TODO: Move queue control at the beginning of the closure
if (should_queue()) {
$this->registerModules();
}
});
app('events')->listen(JobFailed::class, function ($event) {