Skip to content

Commit 9299acb

Browse files
committed
fix tagged mapping value YAML syntax
1 parent 5436c4f commit 9299acb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,9 @@ argument of type ``service_locator``:
256256
# config/services.yaml
257257
services:
258258
App\CommandBus:
259-
arguments:
260-
!service_locator
261-
App\FooCommand: '@app.command_handler.foo'
262-
App\BarCommand: '@app.command_handler.bar'
259+
arguments: !service_locator
260+
App\FooCommand: '@app.command_handler.foo'
261+
App\BarCommand: '@app.command_handler.bar'
263262
264263
.. code-block:: xml
265264

0 commit comments

Comments
 (0)