Skip to content

Commit 2b34ed0

Browse files
authored
Merge pull request #396 from wridgers/fix/anon-consumers-not-working-with-lazy-connections
AnonConsumers don't work with lazy connections
2 parents 82ee45b + 4f7f076 commit 2b34ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RabbitMq/AnonConsumer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace OldSound\RabbitMqBundle\RabbitMq;
44

55
use OldSound\RabbitMqBundle\RabbitMq\Consumer;
6-
use PhpAmqpLib\Connection\AMQPConnection;
6+
use PhpAmqpLib\Connection\AbstractConnection;
77

88
class AnonConsumer extends Consumer
99
{
10-
public function __construct(AMQPConnection $conn)
10+
public function __construct(AbstractConnection $conn)
1111
{
1212
parent::__construct($conn);
1313

0 commit comments

Comments
 (0)