Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  Use type hint
  • Loading branch information
OskarStark committed Oct 10, 2024
2 parents 1b5859a + e5b9efb commit 6c48614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/forwarding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and calls the defined controller. The ``forward()`` method returns the
:class:`Symfony\\Component\\HttpFoundation\\Response` object that is returned
from *that* controller::

public function index($name): Response
public function index(string $name): Response
{
$response = $this->forward('App\Controller\OtherController::fancy', [
'name' => $name,
Expand Down

0 comments on commit 6c48614

Please sign in to comment.