Skip to content

Commit 2017d80

Browse files
committed
Merge pull request #79 from jtangas/iron-mq-2.0
Iron mq 2.0
2 parents f1febb6 + 8efb780 commit 2017d80

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"require-dev": {
2929
"phpunit/phpunit": "~3.7",
3030
"aws/aws-sdk-php": "~2.5",
31-
"iron-io/iron_mq": "~1.5",
31+
"iron-io/iron_mq": "~2.0",
3232
"symfony/finder": "~2.3",
3333
"symfony/filesystem": "~2.3"
3434
},

src/DependencyInjection/UecodeQPushExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ private function createIronMQClient($config, ContainerBuilder $container, $name)
176176

177177
if (!$container->hasDefinition($service)) {
178178

179-
if (!class_exists('IronMQ')) {
179+
if (!class_exists('IronMQ\IronMQ')) {
180180
throw new \RuntimeException(
181181
'You must require "iron-io/iron_mq" to use the Iron MQ provider.'
182182
);
183183
}
184184

185-
$ironmq = new Definition('IronMQ');
185+
$ironmq = new Definition('IronMQ\IronMQ');
186186
$ironmq->setArguments([
187187
[
188188
'token' => $config['token'],

0 commit comments

Comments
 (0)