diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eb3402c..bd1a3209 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All Notable changes to `Csv` will be documented in this file -## Next - TBD +## 9.6.0 - 2020-03-17 ### Added diff --git a/src/functions.php b/src/functions.php index 477defcf..f54f70ef 100644 --- a/src/functions.php +++ b/src/functions.php @@ -66,7 +66,7 @@ function delimiter_detect(Reader $csv, array $delimiters, int $limit = 1): array }; $record_filter = static function (array $record): bool { - return count($record) > 1; + return 1 < count($record); }; $stmt = Statement::create(null, 0, $limit);