We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25943b1 + cbca1cc commit 46cc4a3Copy full SHA for 46cc4a3
src/Integrations/BindsWorker.php
@@ -22,7 +22,7 @@ trait BindsWorker
22
protected $workerImplementations = [
23
'5\.[345678]\.\d+' => Laravel53Worker::class,
24
'[67]\.\d+\.\d+' => Laravel6Worker::class,
25
- '[89]\.\d+\.\d+' => Laravel8Worker::class
+ '([89]|10)\.\d+\.\d+' => Laravel8Worker::class
26
];
27
28
/**
@@ -44,7 +44,7 @@ protected function findWorkerClass($version)
44
protected function bindWorker()
45
{
46
// If Laravel version is 6 or above then the worker bindings change. So we initiate it here
47
- if ($this->app->version() >= 6) {
+ if ((int) $this->app->version() >= 6) {
48
$this->app->singleton(Worker::class, function () {
49
$isDownForMaintenance = function () {
50
return $this->app->isDownForMaintenance();
0 commit comments