Improved comment and test data to show how the offset is counted.

This commit is contained in:
Christian Bläul
2018-03-02 17:26:07 +01:00
parent abecaf1b5d
commit 9d7ccab20f
3 changed files with 81 additions and 26 deletions

View File

@@ -125,7 +125,9 @@ class Csv {
/**
* Offset
* Number of rows to ignore from beginning of data
* Number of rows to ignore from beginning of data. If present, the heading
* row is also counted (if $this->heading == true). In other words,
* $offset == 1 and $offset == 0 have the same meaning in that situation.
*
* @var int|null
*/