From 1774311bd302ca9e2487d65a050ec1de839f6207 Mon Sep 17 00:00:00 2001 From: Tobias Feijten Date: Tue, 6 May 2025 23:11:43 +0200 Subject: [PATCH] Fix one more nullable typing causing a deprecation in PHP 8.4 --- Twig/Extension/EchoExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twig/Extension/EchoExtension.php b/Twig/Extension/EchoExtension.php index b9845a5..4ceb6c7 100644 --- a/Twig/Extension/EchoExtension.php +++ b/Twig/Extension/EchoExtension.php @@ -120,7 +120,7 @@ public function getEchoTrans(string $str, array $parameters = [], string $catalo /** * Print "echo tag with path call" to the path $path with params $params. */ - public function getEchoPath(string $path, string $params = null, array|string|null $filters = null): string + public function getEchoPath(string $path, ?string $params = null, array|string|null $filters = null): string { if (null === $params) { return (null === $filters)