Skip to content

Commit bc36e3b

Browse files
author
Oleg Namaka
committed
ARCH-414 Fix the class name
1 parent afd6911 commit bc36e3b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Symfony/Component/Messenger/Transport/Receiver/BlockingReceiverInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\Messenger\Transport\Receiver;
1313

14+
use Symfony\Component\Messenger\Envelope;
1415
use Symfony\Component\Messenger\Exception\TransportException;
1516

1617
/**
@@ -19,7 +20,7 @@
1920
interface BlockingReceiverInterface extends ReceiverInterface
2021
{
2122
/**
22-
* @param callable(\AMQPEnvelope):bool $callback If callback return false, then processing thread will be
23+
* @param callable(Envelope):bool $callback If callback return false, then processing thread will be
2324
* returned to PHP script.
2425
*
2526
* @throws TransportException If there is an issue communicating with the transport

src/Symfony/Component/Messenger/Transport/Receiver/QueueBlockingReceiverInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\Messenger\Transport\Receiver;
1313

14+
use Symfony\Component\Messenger\Envelope;
15+
1416
/**
1517
* Some transports may have multiple queues. This interface is used to read from only some queues in blocking mode.
1618
*
@@ -22,7 +24,7 @@ interface QueueBlockingReceiverInterface extends BlockingReceiverInterface
2224
* Pull messages from the specified queue names instead of consuming from all queues.
2325
*
2426
* @param string[] $queueNames
25-
* @param callable(\AMQPEnvelope):bool $callback If callback return false, then processing thread will be
27+
* @param callable(Envelope):bool $callback If callback return false, then processing thread will be
2628
* returned to PHP script.
2729
*/
2830
public function pullFromQueues(array $queueNames, callable $callback): void;

0 commit comments

Comments
 (0)