Skip to content

Commit b829911

Browse files
committed
minor #14959 [Messenger] [CS] Add missing commas (sebpacz)
This PR was merged into the 4.4 branch. Discussion ---------- [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. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 036d01b [Messenger][CS] Add missing commas
2 parents f28bc9b + 036d01b commit b829911

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)