Skip to content

Commit 65ea9db

Browse files
committed
Merge pull request #3 from tejerka/master
Backwards compatibility for aws dependency from 2.* version
2 parents 8608ea1 + d99fc21 commit 65ea9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QueueClientAdapterFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function get($config, $priorityHandler) {
2828
$adapter = new FileAdapter($config['repository'], $priorityHandler);
2929
break;
3030
case 'sqs':
31-
$adapter = new SQSAdapter(new SqsClient(array(
31+
$adapter = new SQSAdapter(SqsClient::factory(array(
3232
'region' => $config['region'],
3333
'version' => $config['version'],
3434
'credentials' => array(

0 commit comments

Comments
 (0)