8000 fixed typos · symfony/symfony@f4176b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit f4176b0

Browse files
committed
fixed typos
1 parent b12351a commit f4176b0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
interface ReceiverInterface
2424
{
2525
/**
26-
* Receive some messages to the given handler.
26+
* Receives some messages to the given handler.
2727
*
2828
* While this method could return an unlimited number of messages,
2929
* the intention is that it returns only one, or a "small number"
3030
* of messages each time. This gives the user more flexibility:
3131
* they can finish processing the one (or "small number") of messages
3232
* from this receiver and move on to check other receivers for messages.
33-
* If a this method returns too many messages, it could cause a
33+
* If this method returns too many messages, it could cause a
3434
* blocking effect where handling the messages received from one
3535
* call to get() takes a long time, blocking other receivers from
3636
* being called.
@@ -46,7 +46,7 @@ interface ReceiverInterface
4646
public function get(): iterable;
4747

4848
/**
49-
* Acknowledge that the passed message was handled.
49+
* Acknowledges that the passed message was handled.
5050
*
5151
* @throws TransportException If there is an issue communicating with the transport
5252
*/

src/Symfony/Component/Messenger/WorkerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
interface WorkerInterface
2222
{
2323
/**
24-
* Receive the messages and dispatch them to the bus.
24+
* Receives the messages and dispatch them to the bus.
2525
*
2626
* The $onHandledCallback will be passed the Envelope that was just
2727
* handled or null if nothing was handled.
@@ -31,7 +31,7 @@ interface WorkerInterface
3131
public function run(array $options = [], callable $onHandledCallback = null): void;
3232

3333
/**
34-
* Stop receiving messages.
34+
* Stops receiving messages.
3535
*/
3636
public function stop(): void;
3737
}

0 commit comments

Comments
 (0)
0