diff --git a/app/Domains/Settings/ManageCurrencies/Web/ViewHelpers/CurrencyIndexViewHelper.php b/app/Domains/Settings/ManageCurrencies/Web/ViewHelpers/CurrencyIndexViewHelper.php index 34c14d992e5..bec24ca0187 100644 --- a/app/Domains/Settings/ManageCurrencies/Web/ViewHelpers/CurrencyIndexViewHelper.php +++ b/app/Domains/Settings/ManageCurrencies/Web/ViewHelpers/CurrencyIndexViewHelper.php @@ -11,7 +11,9 @@ public static function data(Account $account, int $currencyId = null): Collectio { $currenciesCollection = $account->currencies() ->orderBy('code') - ->where('active', true)->get()->map(function ($currency) use ($currencyId) { + ->where('active', true) + ->get() + ->map(function ($currency) use ($currencyId) { return [ 'id' => $currency->id, 'name' => $currency->code,