Skip to content

Commit

Permalink
Merge pull request #39 from jason-klein/dev-laravel6x
Browse files Browse the repository at this point in the history
Update support from Laravel 6.0-6.2 to Laravel 6.x
  • Loading branch information
dusterio authored Nov 25, 2019
2 parents ee68b16 + 7f4d625 commit 04b012a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sqs/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function pop($queue = null)

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

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

Expand Down

0 comments on commit 04b012a

Please sign in to comment.