mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
only code improvements
This commit is contained in:
@@ -97,7 +97,8 @@ trait DatatypeTrait {
|
||||
$firstRow = $this->data[0];
|
||||
}
|
||||
|
||||
if (empty(array_filter($firstRow))){
|
||||
$firstRow = array_filter($firstRow);
|
||||
if (empty($firstRow)){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user