Apply fixes from StyleCI

This commit is contained in:
Rico
2024-01-05 23:14:56 +00:00
committed by StyleCI Bot
parent 85e3c4ff2e
commit b2dedb56c9
4 changed files with 9 additions and 9 deletions

View File

@@ -9,10 +9,10 @@ class HomeController extends Controller
{
public function index()
{
$upcomingSkins = Cache::remember('upcomingSkins_home', 60 * 4, static fn() => ChampionSkin::where('availability', 'Upcoming')
$upcomingSkins = Cache::remember('upcomingSkins_home', 60 * 4, static fn () => ChampionSkin::where('availability', 'Upcoming')
->orderBy('release_date', 'desc')->get());
$latestSkins = Cache::remember('latestSkins_home', 60 * 4, static fn() => ChampionSkin::where('availability', 'Available')
$latestSkins = Cache::remember('latestSkins_home', 60 * 4, static fn () => ChampionSkin::where('availability', 'Available')
->orderBy('release_date', 'desc')->take(9)->get());
return view('home', [