Skip to content

Commit

Permalink
ARCH-414 Fix the class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Namaka committed Nov 15, 2024
1 parent afd6911 commit bc36e3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

namespace Symfony\Component\Messenger\Transport\Receiver;

use Symfony\Component\Messenger\Envelope;
use Symfony\Component\Messenger\Exception\TransportException;

/**
Expand All @@ -19,7 +20,7 @@
interface BlockingReceiverInterface extends ReceiverInterface
{
/**
* @param callable(\AMQPEnvelope):bool $callback If callback return false, then processing thread will be
* @param callable(Envelope):bool $callback If callback return false, then processing thread will be
* returned to PHP script.
*
* @throws TransportException If there is an issue communicating with the transport
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\Messenger\Transport\Receiver;

use Symfony\Component\Messenger\Envelope;

/**
* Some transports may have multiple queues. This interface is used to read from only some queues in blocking mode.
*
Expand All @@ -22,7 +24,7 @@ interface QueueBlockingReceiverInterface extends BlockingReceiverInterface
* Pull messages from the specified queue names instead of consuming from all queues.
*
* @param string[] $queueNames
* @param callable(\AMQPEnvelope):bool $callback If callback return false, then processing thread will be
* @param callable(Envelope):bool $callback If callback return false, then processing thread will be
* returned to PHP script.
*/
public function pullFromQueues(array $queueNames, callable $callback): void;
Expand Down

0 comments on commit bc36e3b

Please sign in to comment.