mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat: Add Heimerdinger PHP CS rules for Laravel
- Added a new phpcs.xml.dist file with specific coding standards for Laravel development.
This commit is contained in:
@@ -19,6 +19,11 @@ class HTMLSitemapController extends Controller
|
||||
$icons = Cache::remember('sitemap_iconsCache', $twentyHoursInSeconds, fn () => SummonerIcon::orderBy('title')->get());
|
||||
$posts = Sheets::all()->sortByDesc('date');
|
||||
|
||||
return view('sitemap.index', compact('champions', 'skins', 'icons', 'posts'));
|
||||
return view('sitemap.index', [
|
||||
'champions' => $champions,
|
||||
'skins' => $skins,
|
||||
'icons' => $icons,
|
||||
'posts' => $posts,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user