return $data;
} /**
* @param array<array<string, string|int|float>> $data
*
* @return array<array<string, string|int|float>>
*/
private function formatCsvData(array
$data): array
{ $fields =
$this->
getDateFields($data[0
]);
if ($fields !==
[]) { foreach ($data as &
$row) { foreach ($fields as $field) { if (\
array_key_exists($field,
$row)) { $row[$field] =
date('Y-m-d H:i:s',
(int) $row[$field]);
} } } } $fields =
$this->
getShopFields($data[0
]);