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

@@ -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'] ?? [];
});