Skip to content

Commit 7dd789c

Browse files
committed
Merge pull request #295 from martijn4evers/martijn4evers-patch-1
Removed reliance on deprecated class
2 parents 064186e + 7a68d07 commit 7dd789c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RabbitMq/BaseAmqp.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace OldSound\RabbitMqBundle\RabbitMq;
44
use PhpAmqpLib\Channel\AMQPChannel;
5-
use PhpAmqpLib\Connection\AMQPConnection;
5+
use PhpAmqpLib\Connection\AbstractConnection;
66
use PhpAmqpLib\Connection\AMQPLazyConnection;
77

88
abstract class BaseAmqp
@@ -39,11 +39,11 @@ abstract class BaseAmqp
3939
);
4040

4141
/**
42-
* @param AMQPConnection $conn
42+
* @param AbstractConnection $conn
4343
* @param AMQPChannel|null $ch
4444
* @param null $consumerTag
4545
*/
46-
public function __construct(AMQPConnection $conn, AMQPChannel $ch = null, $consumerTag = null)
46+
public function __construct(AbstractConnection $conn, AMQPChannel $ch = null, $consumerTag = null)
4747
{
4848
$this->conn = $conn;
4949
$this->ch = $ch;

0 commit comments

Comments
 (0)