Skip to content

Commit

Permalink
Update AbstractCsvIterator.php (#7)
Browse files Browse the repository at this point in the history
* Update AbstractCsvIterator.php

* Update AbstractCsvIterator.php
  • Loading branch information
jcoppens authored and SuRaMoN committed May 31, 2016
1 parent 1eb7c71 commit cf02ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itertools/AbstractCsvIterator.php
Expand Up @@ -83,7 +83,7 @@ protected function getLineIteratorWithHeader($header)
return array_combine($header, $row);
}
if(! $options['ignoreMissingColumns']) {
throw new InvalidArgumentException('You provided a csv with missing rows');
throw new InvalidArgumentException('Your headers and columns do not match');
}
if(count($header) < count($row)) {
$row = array_slice($row, 0, count($header));
Expand Down

0 comments on commit cf02ee2

Please sign in to comment.