From 1bc657c65bc5a6de94589d80f51b0b515637735d Mon Sep 17 00:00:00 2001 From: alecritson Date: Thu, 15 Feb 2024 09:00:02 +0000 Subject: [PATCH] chore: fix code style --- .../Filament/Resources/DiscountResource/Pages/EditDiscount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php b/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php index b01698ecfe..754c8fe12b 100644 --- a/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php +++ b/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php @@ -24,7 +24,7 @@ protected function mutateFormDataBeforeSave(array $data): array $minPrices = $data['data']['min_prices'] ?? []; $fixedPrices = $data['data']['fixed_values'] ?? []; $currencies = Currency::enabled()->get(); - + foreach ($minPrices as $currencyCode => $value) { $currency = $currencies->first( fn ($currency) => $currency->code == $currencyCode