Skip to content

Commit

Permalink
fixes #79
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh committed Jan 25, 2024
1 parent a6f7115 commit 19d93ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/SwitchLanguageLocale.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class SwitchLanguageLocale
{
public function handle(Request $request, Closure $next): \Illuminate\Http\Response | \Illuminate\Http\RedirectResponse
public function handle(Request $request, Closure $next): mixed
{
$locale = session()->get('locale')
?? $request->get('locale')
Expand Down

0 comments on commit 19d93ea

Please sign in to comment.