From dbccf7ff80cfba4abfc2cf0fe7169e1df8be4918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 2 Aug 2023 19:52:07 +0200 Subject: [PATCH] For integer for getting person_id in PersonController --- src/Bundle/ChillPersonBundle/Controller/PersonController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Controller/PersonController.php b/src/Bundle/ChillPersonBundle/Controller/PersonController.php index 70a00cc3a..97b2c3ab1 100644 --- a/src/Bundle/ChillPersonBundle/Controller/PersonController.php +++ b/src/Bundle/ChillPersonBundle/Controller/PersonController.php @@ -62,7 +62,7 @@ final class PersonController extends AbstractController /** * @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/general/edit", name="chill_person_general_edit") */ - public function editAction($person_id, Request $request) + public function editAction(int $person_id, Request $request) { $person = $this->_getPerson($person_id);