]> Raphaël G. Git Repositories - airbundle/commitdiff
Fix deprecation
authorRaphaël Gertz <git@rapsys.eu>
Fri, 20 Nov 2026 08:30:48 +0000 (09:30 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 20 Nov 2026 08:30:48 +0000 (09:30 +0100)
Controller/AbstractController.php

index 73e84f63993fa7e27567493da5ebe4d1bab067fd..6efa2ed7834127146307f457765e5f991bda128c 100644 (file)
@@ -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();