From 4351c89192b518f6da538b1b24050624ec7992e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= <5175937+theofidry@users.noreply.github.com> Date: Mon, 21 Nov 2022 16:00:47 +0100 Subject: [PATCH] Fix bad copy/paste --- controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.rst b/controller.rst index e04bfd7a43d..092f032f055 100644 --- a/controller.rst +++ b/controller.rst @@ -381,7 +381,7 @@ object. To access it in your controller, add it as an argument and use Symfony\Component\HttpFoundation\Response; // ... - public function index(Request $request, string $firstName, string $lastName): Response + public function index(Request $request): Response { $page = $request->query->get('page', 1);