Skip to content

Commit 617a2b5

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Use type hint
2 parents c26ce8d + 6c48614 commit 617a2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/forwarding.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and calls the defined controller. The ``forward()`` method returns the
1111
:class:`Symfony\\Component\\HttpFoundation\\Response` object that is returned
1212
from *that* controller::
1313

14-
public function index($name): Response
14+
public function index(string $name): Response
1515
{
1616
$response = $this->forward('App\Controller\OtherController::fancy', [
1717
'name' => $name,

0 commit comments

Comments
 (0)