diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index 2630db0977d..e60cb8686b0 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -309,8 +309,6 @@ or directly via PHP attributes: - - @@ -331,8 +329,6 @@ or directly via PHP attributes: // In versions earlier to Symfony 5.1 the service() function was called ref() 'App\FooCommand' => service('app.command_handler.foo'), 'App\BarCommand' => service('app.command_handler.bar'), - // if the element has no key, the ID of the original service is used - service('app.command_handler.baz'), ])]); };