From 9299acbe183c6ca6a1ffbb1e3ab8dfee712b508b Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 23 Apr 2021 09:11:22 +0200 Subject: [PATCH] fix tagged mapping value YAML syntax --- service_container/service_subscribers_locators.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index fc702a52f27..89d47104900 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -256,10 +256,9 @@ argument of type ``service_locator``: # config/services.yaml services: App\CommandBus: - arguments: - !service_locator - App\FooCommand: '@app.command_handler.foo' - App\BarCommand: '@app.command_handler.bar' + arguments: !service_locator + App\FooCommand: '@app.command_handler.foo' + App\BarCommand: '@app.command_handler.bar' .. code-block:: xml