Skip to content

Commit

Permalink
style: fix code style in RouterMacros
Browse files Browse the repository at this point in the history
  • Loading branch information
fyrts committed Feb 15, 2024
1 parent bbe9e45 commit 276aa75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macros/RouterMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function hasLocalized(): Closure
{
return function ($name) {
$names = array_map(
static fn ($pattern) => locale() . ".{$pattern}",
static fn ($pattern) => locale().".{$pattern}",
is_array($name) ? $name : func_get_args(),
);
return $this->has($names);
Expand Down

0 comments on commit 276aa75

Please sign in to comment.