We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c26ce8d + 6c48614 commit 617a2b5Copy full SHA for 617a2b5
controller/forwarding.rst
@@ -11,7 +11,7 @@ and calls the defined controller. The ``forward()`` method returns the
11
:class:`Symfony\\Component\\HttpFoundation\\Response` object that is returned
12
from *that* controller::
13
14
- public function index($name): Response
+ public function index(string $name): Response
15
{
16
$response = $this->forward('App\Controller\OtherController::fancy', [
17
'name' => $name,
0 commit comments