Skip to content

Commit

Permalink
Update RouteExtension.php
Browse files Browse the repository at this point in the history
  • Loading branch information
artgris authored Dec 12, 2023
1 parent 1c23bbc commit 8d14736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/RouteExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit 8d14736

Please sign in to comment.