Skip to content

Commit 04b012a

Browse files
authored
Merge pull request #39 from jason-klein/dev-laravel6x
Update support from Laravel 6.0-6.2 to Laravel 6.x
2 parents ee68b16 + 7f4d625 commit 04b012a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sqs/Queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function pop($queue = null)
7272

7373
$response = $this->modifyPayload($response['Messages'][0], $class);
7474

75-
if (preg_match('/5\.[4-8]\..*|6\.[0-2]\..*/', $this->container->version())) {
75+
if (preg_match('/(5\.[4-8]\..*)|(6\.[0-9]*\..*)/', $this->container->version())) {
7676
return new SqsJob($this->container, $this->sqs, $response, $this->connectionName, $queue);
7777
}
7878

0 commit comments

Comments
 (0)