Skip to content

Commit

Permalink
r 5.6 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dusterio committed Feb 28, 2018
1 parent 3916fa8 commit eed5af1
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-6]\..*/', $this->container->version())) {
return new SqsJob($this->container, $this->sqs, $response, $this->connectionName, $queue);
}

Expand Down

0 comments on commit eed5af1

Please sign in to comment.