From 08241ccfa4011363c65d05dc38df24e8ba3729a8 Mon Sep 17 00:00:00 2001 From: Bezhan Salleh Date: Mon, 1 Apr 2024 22:54:26 +0430 Subject: [PATCH] wip final --- src/LanguageSwitch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LanguageSwitch.php b/src/LanguageSwitch.php index bcef3e9..d8eb001 100755 --- a/src/LanguageSwitch.php +++ b/src/LanguageSwitch.php @@ -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);