Skip to content

Commit 0a225a0

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Messenger] Fix grammar issue [Messenger][CS] Add missing commas [Mercure] Make the command compatible with ZSH
2 parents 57b7b39 + 5641aa9 commit 0a225a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mercure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ On Linux and Mac, run the following command to start it:
7575

7676
.. rst-class:: command-linux
7777

78-
$ SERVER_NAME=:3000 MERCURE_PUBLISHER_JWT_KEY="!ChangeMe!" MERCURE_SUBSCRIBER_JWT_KEY="!ChangeMe!" ./mercure run -config Caddyfile.dev
78+
$ SERVER_NAME=:3000 MERCURE_PUBLISHER_JWT_KEY='!ChangeMe!' MERCURE_SUBSCRIBER_JWT_KEY='!ChangeMe!' ./mercure run -config Caddyfile.dev
7979

8080
On Windows run:
8181

messenger.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ your Envelope::
10601060

10611061
$attributes = [];
10621062
$bus->dispatch(new SmsNotification(), [
1063-
new AmqpStamp('custom-routing-key', AMQP_NOPARAM, $attributes)
1063+
new AmqpStamp('custom-routing-key', AMQP_NOPARAM, $attributes),
10641064
]);
10651065

10661066
.. caution::
@@ -1133,7 +1133,7 @@ Beanstalkd Transport
11331133

11341134
The Beanstalkd transport was introduced in Symfony 5.2.
11351135

1136-
The Beanstalkd transports sends messages directly to a Beanstalkd work queue. Install
1136+
The Beanstalkd transport sends messages directly to a Beanstalkd work queue. Install
11371137
it by running:
11381138

11391139
.. code-block:: terminal
@@ -1771,12 +1771,12 @@ to your message::
17711771
{
17721772
$bus->dispatch(new SmsNotification('...'), [
17731773
// wait 5 seconds before processing
1774-
new DelayStamp(5000)
1774+
new DelayStamp(5000),
17751775
]);
17761776

17771777
// or explicitly create an Envelope
17781778
$bus->dispatch(new Envelope(new SmsNotification('...'), [
1779-
new DelayStamp(5000)
1779+
new DelayStamp(5000),
17801780
]));
17811781

17821782
// ...

0 commit comments

Comments
 (0)