Use map() instead of transform(), use fn() instead of function(), consistent coding for form.select
This commit is contained in:
@@ -62,7 +62,7 @@ class ImportCosts implements ShouldQueue
|
||||
'PRICETOTAL'=>'Total (inc-GST)'
|
||||
];
|
||||
|
||||
$this->columns = collect($headers)->transform(function($item) { return strtolower($item); });
|
||||
$this->columns = collect($headers)->map(fn($item)=>strtolower($item));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user