Skip to content

Commit 7f4d625

Browse files
committed
Update support from Laravel 6.0-6.2 to Laravel 6.x
1 parent ee68b16 commit 7f4d625

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)