Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 30, 2019
1 parent b12351a commit f4176b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -23,14 +23,14 @@
interface ReceiverInterface
{
/**
* Receive some messages to the given handler.
* Receives some messages to the given handler.
*
* While this method could return an unlimited number of messages,
* the intention is that it returns only one, or a "small number"
* of messages each time. This gives the user more flexibility:
* they can finish processing the one (or "small number") of messages
* from this receiver and move on to check other receivers for messages.
* If a this method returns too many messages, it could cause a
* If this method returns too many messages, it could cause a
* blocking effect where handling the messages received from one
* call to get() takes a long time, blocking other receivers from
* being called.
Expand All @@ -46,7 +46,7 @@ interface ReceiverInterface
public function get(): iterable;

/**
* Acknowledge that the passed message was handled.
* Acknowledges that the passed message was handled.
*
* @throws TransportException If there is an issue communicating with the transport
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Messenger/WorkerInterface.php
Expand Up @@ -21,7 +21,7 @@
interface WorkerInterface
{
/**
* Receive the messages and dispatch them to the bus.
* Receives the messages and dispatch them to the bus.
*
* The $onHandledCallback will be passed the Envelope that was just
* handled or null if nothing was handled.
Expand All @@ -31,7 +31,7 @@ interface WorkerInterface
public function run(array $options = [], callable $onHandledCallback = null): void;

/**
* Stop receiving messages.
* Stops receiving messages.
*/
public function stop(): void;
}

0 comments on commit f4176b0

Please sign in to comment.