From 7351a74625601914409b42b32cabb91a93773b7b Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Tue, 17 Mar 2020 16:15:35 +0100 Subject: [PATCH] prepare 9.6.0 release --- CHANGELOG.md | 2 +- src/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);