diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Frontend/SetupController.php b/phpmyfaq/src/phpMyFAQ/Controller/Frontend/SetupController.php index bcadbd50e1..423aeca07f 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Frontend/SetupController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Frontend/SetupController.php @@ -30,6 +30,7 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; +use Twig\Error\LoaderError; class SetupController { @@ -148,7 +149,7 @@ public function update(Request $request): Response * @param string[] $templateVars * @param Response|null $response * @return Response - * @throws Exception + * @throws Exception|LoaderError */ public function render(string $pathToTwigFile, array $templateVars = [], ?Response $response = null): Response {