Skip to content

Commit 94ea199

Browse files
authored
Merge pull request #25 from fh-jashmore/support-for-5.7
Add version 5.7 check
2 parents a2ac6c8 + 3d81cf0 commit 94ea199

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

0 commit comments

Comments
 (0)