From 4b2b239b762cf3cea3f02969420c7870a532bfae Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 9 Oct 2023 23:27:25 +0300 Subject: [PATCH] allow null value --- src/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index ac5a1ee..33ded61 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -487,7 +487,7 @@ class UserController extends AbstractController ); } - public function module(string $route = ''): Response + public function module(?string $route): Response { return $this->render( 'default/user/module.html.twig',