From dfcf6a70de00455a7a4e399384b3326d651c0883 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 14 Apr 2023 08:32:20 +0200 Subject: [PATCH] [DependencyInjection] Formatting --- service_container/tags.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/service_container/tags.rst b/service_container/tags.rst index f1d7b4080ee..94fb0e9e1c8 100644 --- a/service_container/tags.rst +++ b/service_container/tags.rst @@ -601,7 +601,8 @@ directly via PHP attributes: { public function __construct( // the attribute must be applied directly to the argument to autowire - #[TaggedIterator('app.handler')] iterable $handlers + #[TaggedIterator('app.handler')] + iterable $handlers ) { } } @@ -683,7 +684,8 @@ iterator, add the ``exclude`` option: class HandlerCollection { public function __construct( - #[TaggedIterator('app.handler', exclude: ['App\Handler\Three'])] iterable $handlers + #[TaggedIterator('app.handler', exclude: ['App\Handler\Three'])] + iterable $handlers ) { } }