From 8d14736b623fd9f9fe61d16b3c7b9c1123f282d2 Mon Sep 17 00:00:00 2001 From: Arthur Gribet Date: Tue, 12 Dec 2023 11:29:15 +0100 Subject: [PATCH] Update RouteExtension.php --- src/Twig/RouteExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Twig/RouteExtension.php b/src/Twig/RouteExtension.php index 7b03477..5b30555 100644 --- a/src/Twig/RouteExtension.php +++ b/src/Twig/RouteExtension.php @@ -25,7 +25,7 @@ public function getFilters() ]; } - public function transformeToRoute(?string $routeName): string + public function transformeToRoute(?string $routeName, ?string $locale = null): string { if (null === $routeName) { return '';