Skip to content

Commit 1a37dd9

Browse files
committed
minor #17576 [DependencyInjection] Remove not implemented behavior (upyx)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [DependencyInjection] Remove not implemented behavior Currently numeric keys are used, but it will be deprecated and changed in 7.0. Deprecation: symfony/symfony#48686 New behavior: symfony/symfony#48653 Commits ------- a8770de [DependencyInjection] Remove not implemented behavior
2 parents d0ecbbc + a8770de commit 1a37dd9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,6 @@ or directly via PHP attributes:
309309
<argument type="service_locator">
310310
<argument key="App\FooCommand" type="service" id="app.command_handler.foo"/>
311311
<argument key="App\BarCommand" type="service" id="app.command_handler.bar"/>
312-
<!-- if the element has no key, the ID of the original service is used -->
313-
<argument type="service" id="app.command_handler.baz"/>
314312
</argument>
315313
</service>
316314
</services>
@@ -331,8 +329,6 @@ or directly via PHP attributes:
331329
// In versions earlier to Symfony 5.1 the service() function was called ref()
332330
'App\FooCommand' => service('app.command_handler.foo'),
333331
'App\BarCommand' => service('app.command_handler.bar'),
334-
// if the element has no key, the ID of the original service is used
335-
service('app.command_handler.baz'),
336332
])]);
337333
};
338334

0 commit comments

Comments
 (0)