Skip to content

Commit

Permalink
Merge pull request #25 from fh-jashmore/support-for-5.7
Browse files Browse the repository at this point in the history
Add version 5.7 check
  • Loading branch information
dusterio authored Oct 11, 2018
2 parents a2ac6c8 + 3d81cf0 commit 94ea199
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-6]\..*/', $this->container->version())) {
if (preg_match('/5\.[4-7]\..*/', $this->container->version())) {
return new SqsJob($this->container, $this->sqs, $response, $this->connectionName, $queue);
}

Expand Down

0 comments on commit 94ea199

Please sign in to comment.