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 '';