Skip to content

Commit

Permalink
fixed override declare class issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanSenturk committed Mar 1, 2024
1 parent 18f9ee4 commit 07ef682
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Providers/Queue.php
Expand Up @@ -56,7 +56,10 @@ public function boot()

$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) {
Expand Down

0 comments on commit 07ef682

Please sign in to comment.