]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Controller/AbstractController.php
Strict conformity
[userbundle] / Controller / AbstractController.php
index 77cf860f4d59bcc66dc67fefd4ddb2e384d3fff4..c3bb8493f469c4c885ed0892e1c802976870d0b3 100644 (file)
@@ -278,7 +278,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
         *
         * Renders a view
         */
         *
         * Renders a view
         */
-       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();
 
                //Create response when null
                $response ??= new Response();