|
12 | 12 | use Interop\Amqp\Impl\AmqpMessage; |
13 | 13 | use Interop\Amqp\Impl\AmqpQueue; |
14 | 14 | use Interop\Amqp\Impl\AmqpTopic; |
15 | | -use Interop\Queue\InvalidDestinationException; |
16 | | -use Interop\Queue\PsrDestination; |
17 | | -use Interop\Queue\PsrMessage; |
18 | | -use Interop\Queue\PsrProducer; |
| 15 | +use Interop\Queue\Destination; |
| 16 | +use Interop\Queue\Exception\InvalidDestinationException; |
| 17 | +use Interop\Queue\Message; |
| 18 | +use Interop\Queue\Producer; |
19 | 19 | use PHPUnit\Framework\TestCase; |
20 | 20 |
|
21 | 21 | class RabbitMqDelayPluginDelayStrategyTest extends TestCase |
@@ -188,27 +188,27 @@ public function delayMessage(AmqpContext $context, AmqpDestination $dest, \Inter |
188 | 188 | { |
189 | 189 | } |
190 | 190 |
|
191 | | - public function send(PsrDestination $destination, PsrMessage $message): void |
| 191 | + public function send(Destination $destination, Message $message): void |
192 | 192 | { |
193 | 193 | } |
194 | 194 |
|
195 | | - public function setDeliveryDelay(int $deliveryDelay = null): PsrProducer |
| 195 | + public function setDeliveryDelay(int $deliveryDelay = null): Producer |
196 | 196 | { |
197 | 197 | } |
198 | 198 |
|
199 | 199 | public function getDeliveryDelay(): ?int |
200 | 200 | { |
201 | 201 | } |
202 | 202 |
|
203 | | - public function setPriority(int $priority = null): PsrProducer |
| 203 | + public function setPriority(int $priority = null): Producer |
204 | 204 | { |
205 | 205 | } |
206 | 206 |
|
207 | 207 | public function getPriority(): ?int |
208 | 208 | { |
209 | 209 | } |
210 | 210 |
|
211 | | - public function setTimeToLive(int $timeToLive = null): PsrProducer |
| 211 | + public function setTimeToLive(int $timeToLive = null): Producer |
212 | 212 | { |
213 | 213 | } |
214 | 214 |
|
|
0 commit comments