Skip to content

Commit aa3f693

Browse files
committed
minor #15281 fix tagged mapping value YAML syntax (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- fix tagged mapping value YAML syntax Commits ------- 9299acb fix tagged mapping value YAML syntax
2 parents 8518542 + 9299acb commit aa3f693

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)