allow null value

This commit is contained in:
ghost 2023-10-09 23:27:25 +03:00
parent c0f593ebec
commit 4b2b239b76

View File

@ -487,7 +487,7 @@ class UserController extends AbstractController
); );
} }
public function module(string $route = ''): Response public function module(?string $route): Response
{ {
return $this->render( return $this->render(
'default/user/module.html.twig', 'default/user/module.html.twig',