Update RowIterator.php

This commit is contained in:
rlukasz 2016-07-04 01:05:20 +02:00 committed by GitHub
parent 192659cb24
commit c215d442a0

View File

@ -153,7 +153,7 @@ class RowIterator implements IteratorInterface
*/ */
protected function getNextUTF8EncodedRow() protected function getNextUTF8EncodedRow()
{ {
$encodedRowData = fgetcsv($this->filePointer, self::MAX_READ_BYTES_PER_LINE, $this->fieldDelimiter, $this->fieldEnclosure); $encodedRowData = $this->globalFunctionsHelper->fgetcsv($this->filePointer, self::MAX_READ_BYTES_PER_LINE, $this->fieldDelimiter, $this->fieldEnclosure);
if (false === $encodedRowData) { if (false === $encodedRowData) {
return false; return false;
} }