Skip to content

Commit 4a6998c

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Added: Missing comment on XML and PHP code-block
2 parents 0d246c1 + a404d52 commit 4a6998c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

service_container/service_decoration.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ automatically changed to ``decorating_service_id + '.inner'``):
148148
<service id="App\DecoratingMailer"
149149
decorates="App\Mailer"
150150
>
151+
<!-- pass the old service as an argument -->
151152
<argument type="service" id="App\DecoratingMailer.inner"/>
152153
</service>
153-
154154
</services>
155155
</container>
156156
@@ -173,7 +173,6 @@ automatically changed to ``decorating_service_id + '.inner'``):
173173
->args([ref(DecoratingMailer::class.'.inner')]);
174174
};
175175
176-
177176
.. tip::
178177

179178
The visibility of the decorated ``App\Mailer`` service (which is an alias

0 commit comments

Comments
 (0)