Skip to content

Commit

Permalink
wip final
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh committed Apr 1, 2024
1 parent cea369d commit 08241cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LanguageSwitch.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public function getCharAvatar(string $locale): string
: str($locale)->upper()->toString();
}

public static function trigger($locale)
public static function trigger(string $locale)
{
session()->put('locale', $locale);

Expand Down

0 comments on commit 08241cc

Please sign in to comment.