diff --git a/src/Kdyby/RabbitMq/AmqpMember.php b/src/Kdyby/RabbitMq/AmqpMember.php index 30fa72ab..63950ab5 100644 --- a/src/Kdyby/RabbitMq/AmqpMember.php +++ b/src/Kdyby/RabbitMq/AmqpMember.php @@ -19,7 +19,7 @@ abstract class AmqpMember extends Nette\Object { /** - * @var Connection + * @var IConnection */ protected $conn; @@ -94,10 +94,10 @@ abstract class AmqpMember extends Nette\Object /** - * @param Connection $conn + * @param IConnection $conn * @param string $consumerTag */ - public function __construct(Connection $conn, $consumerTag = null) + public function __construct(IConnection $conn, $consumerTag = null) { $this->conn = $conn; $this->consumerTag = empty($consumerTag) ? sprintf("PHPPROCESS_%s_%s", gethostname(), getmypid()) : $consumerTag;