8000 Minor reword · symfony/symfony-docs@c4974ba · GitHub
[go: up one dir, main page]

Skip to content

Commit c4974ba

Browse files
committed
Minor reword
1 parent 8c0b0bc commit c4974ba

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

components/messenger.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,16 +288,16 @@ do is to write your own CSV receiver::
288288

289289
foreach ($ordersFromCsv as $orderFromCsv) {
290290
$order = new NewOrder($orderFromCsv['id'], $orderFromCsv['account_id'], $orderFromCsv['amount']);
291-
291+
292292
$envelope = new Envelope($order);
293293

294294
$handler($envelope);
295295
}
296-
296+
297297
return [$envelope];
298298
}
299-
300-
public function ack(Envelope $envelope): void
299+
300+
public function ack(Envelope $envelope): void
301301
{
302302
// Add information about the handled message
303303
}
@@ -310,8 +310,9 @@ do is to write your own CSV receiver::
310310

311311
.. versionadded:: 4.3
312312

313-
The ``ReceiverInterface`` has been upgraded to act as most libraries
314-
does, be sure to adapt your existing code according to the newly added methods.
313+
In Symfony 4.3, the ``ReceiverInterface`` has changed its methods as shown
314+
in the example above. You may need to update your code if you used this
315+
interface in previous Symfony versions.
315316

316317
Receiver and Sender on the same Bus
317318
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0