Skip to content

Commit

Permalink
Merge pull request #16 from fh-jashmore/support-for-5.5
Browse files Browse the repository at this point in the history
+ Support for 5.5
  • Loading branch information
dusterio authored Sep 25, 2017
2 parents 785cbea + 562d834 commit e579178
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.*/', $this->container->version())) {
if (version_compare($this->container->version(), '5.4') >= 0) {
return new SqsJob($this->container, $this->sqs, $response, $this->connectionName, $queue);
}

Expand Down

0 comments on commit e579178

Please sign in to comment.