From: Raphaƫl Gertz Date: Fri, 20 Nov 2026 08:30:48 +0000 (+0100) Subject: Fix deprecation X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/238ea70bdcf5ccaad33d3213d627c78dde2d8156 Fix deprecation --- diff --git a/Controller/AbstractController.php b/Controller/AbstractController.php index 73e84f6..6efa2ed 100644 --- a/Controller/AbstractController.php +++ b/Controller/AbstractController.php @@ -218,7 +218,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv * * {@inheritdoc} */ - protected function render(string $view, array $parameters = [], Response $response = null): Response { + protected function render(string $view, array $parameters = [], ?Response $response = null): Response { //Create response when null $response ??= new Response();