Fix PHP DocBlock: some tools thought the function always returns true

(Also, there was a spelling mistake)
This commit is contained in:
Fonata
2021-04-02 20:29:12 +02:00
committed by Fonata
parent d1186fcafa
commit 2a154869b4

View File

@@ -1015,7 +1015,7 @@ class Csv {
* @param array $row array with values from a row * @param array $row array with values from a row
* @param string|null $conditions specified conditions that the row must match * @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) { protected function _validate_row_conditions($row = array(), $conditions = null) {
if (!empty($row)) { if (!empty($row)) {
@@ -1142,7 +1142,7 @@ class Csv {
* *
* @param int $current_row the current row number being processed * @param int $current_row the current row number being processed
* *
* @return true of false * @return bool
*/ */
protected function _validate_offset($current_row) { protected function _validate_offset($current_row) {
return return