Skip to content

Commit 707580e

Browse files
committed
Merge branch '5.1' into master
* 5.1: Enhancement: Add Github error formatter for DOCtor-RST [DI] replace tagged by tagged_iterator
2 parents 0017158 + f0655f7 commit 707580e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ jobs:
6868
- name: "Run DOCtor-RST"
6969
uses: docker://oskarstark/doctor-rst
7070
with:
71-
args: --short --cache-file=/github/workspace/.cache/doctor-rst.cache
71+
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache

service_container/tags.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ in the configuration of the collecting service:
677677
https://symfony.com/schema/dic/services/services-1.0.xsd">
678678
<services>
679679
<service id="App\HandlerCollection">
680-
<argument type="tagged" tag="app.handler" default-priority-method="getPriority"/>
680+
<argument type="tagged_iterator" tag="app.handler" default-priority-method="getPriority"/>
681681
</service>
682682
</services>
683683
</container>
@@ -706,7 +706,7 @@ Tagged Services with Index
706706

707707
If you want to retrieve a specific service within the injected collection
708708
you can use the ``index_by`` and ``default_index_method`` options of the
709-
argument in combination with ``!tagged``.
709+
argument in combination with ``!tagged_iterator``.
710710

711711
Using the previous example, this service configuration creates a collection
712712
indexed by the ``key`` attribute:

0 commit comments

Comments
 (0)