@@ -50,8 +50,8 @@ serialized::
50
50
51
51
.. _messenger-handler :
52
52
53
- A message handler is a PHP callable, the easiest way to create it is to create a class that implements
54
- ``MessageHandlerInterface `` and has an ``__invoke() `` method that's
53
+ A message handler is a PHP callable, the recommended way to create it is to create a class that
54
+ implements ``MessageHandlerInterface `` and has an ``__invoke() `` method that's
55
55
type-hinted with the message class (or a message interface)::
56
56
57
57
// src/MessageHandler/SmsNotificationHandler.php
@@ -936,7 +936,7 @@ In Memory Transport
936
936
937
937
The ``in-memory `` transport was introduced in Symfony 4.3.
938
938
939
- The ``in-memory `` transport does not actually delivery messages. Instead, it
939
+ The ``in-memory `` transport does not actually deliver messages. Instead, it
940
940
holds them in memory during the request, which can be useful for testing.
941
941
For example, if you have an ``async_priority_normal `` transport, you could
942
942
override it in the ``test `` environment to use this transport:
@@ -1298,7 +1298,7 @@ Middleware
1298
1298
~~~~~~~~~~
1299
1299
1300
1300
What happens when you dispatch a message to a message bus depends on its
1301
- collection of middleware ( and their order) . By default, the middleware configured
1301
+ collection of middleware and their order. By default, the middleware configured
1302
1302
for each bus looks like this:
1303
1303
1304
1304
#. ``add_bus_name_stamp_middleware `` - adds a stamp to record which bus this
0 commit comments