diff --git a/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/QueryRenderingExtension.php b/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/QueryRenderingExtension.php index 2c9eab8fdb..9644e1200a 100644 --- a/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/QueryRenderingExtension.php +++ b/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/QueryRenderingExtension.php @@ -62,7 +62,7 @@ function (string $type, string $renderer, array $options): ?string { private function createControllerReference(array $options): ControllerReference { - $pageParam = isset($options['pagination']['page_param']) ? $options['pagination']['page_param'] : 'page'; + $pageParam = $options['pagination']['page_param'] ?? 'page'; return new ControllerReference( 'ez_query_render::renderQuery',