File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ trait BindsWorker
22
22
protected $ workerImplementations = [
23
23
'5\.[345678]\.\d+ ' => Laravel53Worker::class,
24
24
'[67]\.\d+\.\d+ ' => Laravel6Worker::class,
25
- '[89]\.\d+\.\d+ ' => Laravel8Worker::class
25
+ '( [89]|10) \.\d+\.\d+ ' => Laravel8Worker::class
26
26
];
27
27
28
28
/**
@@ -44,7 +44,7 @@ protected function findWorkerClass($version)
44
44
protected function bindWorker ()
45
45
{
46
46
// If Laravel version is 6 or above then the worker bindings change. So we initiate it here
47
- if ($ this ->app ->version () >= 6 ) {
47
+ if (( int ) $ this ->app ->version () >= 6 ) {
48
48
$ this ->app ->singleton (Worker::class, function () {
49
49
$ isDownForMaintenance = function () {
50
50
return $ this ->app ->isDownForMaintenance ();
You can’t perform that action at this time.
0 commit comments