44
55namespace Bunny \Test ;
66
7-
87use Bunny \ChannelInterface ;
98use Bunny \ChannelMode ;
109use Bunny \ClientInterface ;
@@ -61,6 +60,9 @@ public function close(int $replyCode = 0, string $replyText = '', bool $connecti
6160 {
6261 }
6362
63+ /**
64+ * @param array<string,mixed> $arguments
65+ */
6466 public function consume (callable $ callback , string $ queue = '' , string $ consumerTag = '' , bool $ noLocal = false , bool $ noAck = false , bool $ exclusive = false , bool $ nowait = false , array $ arguments = [], int $ concurrency = 1 ): MethodBasicConsumeOkFrame
6567 {
6668 return new MethodBasicConsumeOkFrame ();
@@ -86,6 +88,9 @@ public function get(string $queue = '', bool $noAck = false): Message|null
8688 return null ;
8789 }
8890
91+ /**
92+ * @param array<string,mixed> $headers
93+ */
8994 public function publish (string $ body , array $ headers = [], string $ exchange = '' , string $ routingKey = '' , bool $ mandatory = false , bool $ immediate = false ): int |bool
9095 {
9196 return false ;
@@ -121,11 +126,17 @@ public function qos(int $prefetchSize = 0, int $prefetchCount = 0, bool $global
121126 return new MethodBasicQosOkFrame ();
122127 }
123128
129+ /**
130+ * @param array<string,mixed> $arguments
131+ */
124132 public function queueDeclare (string $ queue = '' , bool $ passive = false , bool $ durable = false , bool $ exclusive = false , bool $ autoDelete = false , bool $ nowait = false , array $ arguments = []): MethodQueueDeclareOkFrame |bool
125133 {
126134 return false ;
127135 }
128136
137+ /**
138+ * @param array<string,mixed> $arguments
139+ */
129140 public function queueBind (string $ exchange , string $ queue = '' , string $ routingKey = '' , bool $ nowait = false , array $ arguments = []): MethodQueueBindOkFrame |bool
130141 {
131142 return false ;
@@ -141,11 +152,17 @@ public function queueDelete(string $queue = '', bool $ifUnused = false, bool $if
141152 return false ;
142153 }
143154
155+ /**
156+ * @param array<string,mixed> $arguments
157+ */
144158 public function queueUnbind (string $ exchange , string $ queue = '' , string $ routingKey = '' , array $ arguments = []): MethodQueueUnbindOkFrame
145159 {
146160 return new MethodQueueUnbindOkFrame ();
147161 }
148162
163+ /**
164+ * @param array<string,mixed> $arguments
165+ */
149166 public function exchangeDeclare (string $ exchange , string $ exchangeType = 'direct ' , bool $ passive = false , bool $ durable = false , bool $ autoDelete = false , bool $ internal = false , bool $ nowait = false , array $ arguments = []): MethodExchangeDeclareOkFrame |bool
150167 {
151168 return false ;
@@ -156,11 +173,17 @@ public function exchangeDelete(string $exchange, bool $ifUnused = false, bool $n
156173 return false ;
157174 }
158175
176+ /**
177+ * @param array<string,mixed> $arguments
178+ */
159179 public function exchangeBind (string $ destination , string $ source , string $ routingKey = '' , bool $ nowait = false , array $ arguments = []): MethodExchangeBindOkFrame |bool
160180 {
161181 return false ;
162182 }
163183
184+ /**
185+ * @param array<string,mixed> $arguments
186+ */
164187 public function exchangeUnbind (string $ destination , string $ source , string $ routingKey = '' , bool $ nowait = false , array $ arguments = []): MethodExchangeUnbindOkFrame |bool
165188 {
166189 return false ;
@@ -175,5 +198,4 @@ public function recover(bool $requeue = false): MethodBasicRecoverOkFrame
175198 {
176199 return new MethodBasicRecoverOkFrame ();
177200 }
178-
179201}
0 commit comments