Skip to content

Commit 036d01b

Browse files
committed
[Messenger][CS] Add missing commas
I discovered two more examples where a comma is missing after the last array item in a multi-line array.
1 parent f28bc9b commit 036d01b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

messenger.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ your Envelope::
859859

860860
$attributes = [];
861861
$bus->dispatch(new SmsNotification(), [
862-
new AmqpStamp('custom-routing-key', AMQP_NOPARAM, $attributes)
862+
new AmqpStamp('custom-routing-key', AMQP_NOPARAM, $attributes),
863863
]);
864864

865865
.. caution::
@@ -1483,12 +1483,12 @@ to your message::
14831483
{
14841484
$bus->dispatch(new SmsNotification('...'), [
14851485
// wait 5 seconds before processing
1486-
new DelayStamp(5000)
1486+
new DelayStamp(5000),
14871487
]);
14881488

14891489
// or explicitly create an Envelope
14901490
$bus->dispatch(new Envelope(new SmsNotification('...'), [
1491-
new DelayStamp(5000)
1491+
new DelayStamp(5000),
14921492
]));
14931493

14941494
// ...

0 commit comments

Comments
 (0)