Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 13, 2023
1 parent ee081bc commit 4486547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function share(Request $request)
...parent::share($request),
'sharpVersion' => sharp_version(),
'locale' => app()->getLocale(),
'translations' => Cache::rememberForever('sharp.translations.'.sharp_version(), function() {
'translations' => Cache::rememberForever('sharp.translations.'.sharp_version(), function () {
return collect([
'sharp::action_bar',
'sharp::dashboard',
Expand All @@ -37,7 +37,7 @@ public function share(Request $request)
])
->map(function ($group) {
return collect(__($group, [], app()->getFallbackLocale()))
->mapWithKeys(fn($value, $key) => ["$group.$key" => __("$group.$key")]);
->mapWithKeys(fn ($value, $key) => ["$group.$key" => __("$group.$key")]);
})
->collapse()
->toArray();
Expand Down

0 comments on commit 4486547

Please sign in to comment.