mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
Apply fixes from StyleCI
This commit is contained in:
@@ -13,7 +13,7 @@ class SaleController extends Controller
|
||||
file_get_contents('https://api.shop.riotgames.com/v3/collections/'),
|
||||
true
|
||||
);
|
||||
$salesData = array_filter($shopData, static fn($collection) => $collection['path'] === '/event/sales');
|
||||
$salesData = array_filter($shopData, static fn ($collection) => $collection['path'] === '/event/sales');
|
||||
return reset($salesData)['dynamicCollection']['discountedProductsByProductType'] ?? [];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user