Skip to content

Commit

Permalink
Merge pull request #3143 from CihanSenturk/fix-override-declare-class…
Browse files Browse the repository at this point in the history
…-isssue

Fixed override declare class issue
  • Loading branch information
CihanSenturk committed Mar 1, 2024
2 parents 18f9ee4 + 07ef682 commit 476612d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Providers/Queue.php
Original file line number Diff line number Diff line change
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 476612d

Please sign in to comment.