Skip to content

Commit 6c48614

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Use type hint
2 parents 1b5859a + e5b9efb commit 6c48614

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)