Skip to content

Commit 74d96db

Browse files
committed
minor #18204 [DependencyInjection] Formatting (OskarStark)
This PR was merged into the 6.2 branch. Discussion ---------- [DependencyInjection] Formatting Commits ------- dfcf6a7 [DependencyInjection] Formatting
2 parents 8709dd6 + dfcf6a7 commit 74d96db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

service_container/tags.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,8 @@ directly via PHP attributes:
601601
{
602602
public function __construct(
603603
// the attribute must be applied directly to the argument to autowire
604-
#[TaggedIterator('app.handler')] iterable $handlers
604+
#[TaggedIterator('app.handler')]
605+
iterable $handlers
605606
) {
606607
}
607608
}
@@ -683,7 +684,8 @@ iterator, add the ``exclude`` option:
683684
class HandlerCollection
684685
{
685686
public function __construct(
686-
#[TaggedIterator('app.handler', exclude: ['App\Handler\Three'])] iterable $handlers
687+
#[TaggedIterator('app.handler', exclude: ['App\Handler\Three'])]
688+
iterable $handlers
687689
) {
688690
}
689691
}

0 commit comments

Comments
 (0)