Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/Codeception/Module/AMQP.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use PhpAmqpLib\Connection\AMQPStreamConnection;
use PhpAmqpLib\Exception\AMQPProtocolChannelException;
use PhpAmqpLib\Message\AMQPMessage;
use PhpAmqpLib\Wire\AMQPTable;

/**
* This module interacts with message broker software that implements
Expand Down Expand Up @@ -166,7 +167,7 @@ public function declareExchange(
bool $auto_delete = true,
bool $internal = false,
bool $nowait = false,
?array $arguments = null,
array|AMQPTable|null $arguments = null,
?int $ticket = null
) {
return $this->getChannel()->exchange_declare(
Expand Down Expand Up @@ -203,7 +204,7 @@ public function declareQueue(
bool $exclusive = false,
bool $auto_delete = true,
bool $nowait = false,
?array $arguments = null,
array|AMQPTable|null $arguments = null,
?int $ticket = null
): ?array {
return $this->getChannel()->queue_declare(
Expand Down Expand Up @@ -239,7 +240,7 @@ public function bindQueueToExchange(
string $exchange,
string $routing_key = '',
bool $nowait = false,
?array $arguments = null,
array|AMQPTable|null $arguments = null,
?int $ticket = null
) {
return $this->getChannel()->queue_bind(
Expand Down