From 2a154869b4455ffe5e6327e262a06d34700e0cba Mon Sep 17 00:00:00 2001 From: Fonata Date: Fri, 2 Apr 2021 20:29:12 +0200 Subject: [PATCH] Fix PHP DocBlock: some tools thought the function always returns true (Also, there was a spelling mistake) --- src/Csv.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Csv.php b/src/Csv.php index 6f21616..225b76d 100644 --- a/src/Csv.php +++ b/src/Csv.php @@ -1015,7 +1015,7 @@ class Csv { * @param array $row array with values from a row * @param string|null $conditions specified conditions that the row must match * - * @return true of false + * @return bool */ protected function _validate_row_conditions($row = array(), $conditions = null) { if (!empty($row)) { @@ -1142,7 +1142,7 @@ class Csv { * * @param int $current_row the current row number being processed * - * @return true of false + * @return bool */ protected function _validate_offset($current_row) { return