8000 minor #52704 [FrameworkBundle] Update docblock AbstractController (fm… · symfony/symfony@2d5d053 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d5d053

Browse files
minor #52704 [FrameworkBundle] Update docblock AbstractController (fmata)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Update docblock AbstractController | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | n/a | License | MIT Small doc update to mention invokable controller usage. Commits ------- c05e1c1 [FrameworkBundle] Update docblock AbstractController
2 parents a422dfc + c05e1c1 commit 2d5d053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ protected function generateUrl(string $route, array $parameters = [], int $refer
145145
/**
146146
* Forwards the request to another controller.
147147
*
148-
* @param string $controller The controller name (a string like Bundle\BlogBundle\Controller\PostController::indexAction)
148+
* @param string $controller The controller name (a string like "App\Controller\PostController::index" or "App\Controller\PostController" if it is invokable)
149149
*/
150150
protected function forward(string $controller, array $path = [], array $query = []): Response
151151
{

0 commit comments

Comments
 (0)
0