mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Fix PHP DocBlock: some tools thought the function always returns true
(Also, there was a spelling mistake)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user