From b3bb7fe431dbe89b2679a0f6c3d2e8d248aba253 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 20 Aug 2023 22:14:31 +1000 Subject: [PATCH] Convert collection to array --- app/Export/CSV/CreditExport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Export/CSV/CreditExport.php b/app/Export/CSV/CreditExport.php index e64913971869..82de37a0cd04 100644 --- a/app/Export/CSV/CreditExport.php +++ b/app/Export/CSV/CreditExport.php @@ -134,7 +134,7 @@ class CreditExport extends BaseExport $this->input['report_keys'] = collect(array_values($this->entity_keys))->map(function ($value){ return 'credit.'.$value; - }); + })->toArray(); }