Convert collection to array

This commit is contained in:
David Bomba 2023-08-20 22:14:31 +10:00
parent 03b3170b8c
commit b3bb7fe431

View File

@ -134,7 +134,7 @@ class CreditExport extends BaseExport
$this->input['report_keys'] = collect(array_values($this->entity_keys))->map(function ($value){ $this->input['report_keys'] = collect(array_values($this->entity_keys))->map(function ($value){
return 'credit.'.$value; return 'credit.'.$value;
}); })->toArray();
} }