Skip to content

Commit 5e0be41

Browse files
committed
minor #7979 Fix method reference to AbstractController (getSubscribedServices) (maff)
This PR was merged into the 3.3 branch. Discussion ---------- Fix method reference to AbstractController (getSubscribedServices) `getSubscribedServices()` instead of `getSubscribedEvents()` Commits ------- b9b4567 Fix method reference (`getSubscribedServices()` instead of `getSubscribedEvents()`)
2 parents cc741e2 + b9b4567 commit 5e0be41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The best way to see how to replace base ``Controller`` convenience methods is to
130130
look at the `ControllerTrait`_ that holds its logic.
131131

132132
If you want to know what type-hints to use for each service, see the
133-
``getSubscribedEvents()`` method in `AbstractController`_.
133+
``getSubscribedServices()`` method in `AbstractController`_.
134134

135135
.. _`Controller class source code`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php
136136
.. _`base Controller class`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php

0 commit comments

Comments
 (0)