Skip to content

Commit ac271b6

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [DependencyInjection] Formatting
2 parents 0e4f54b + 74d96db commit ac271b6

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)