Minor fixes in order to be ok with naming conventions and code documentation...

This commit is contained in:
Sebastian Fichera 2016-02-11 17:51:24 -06:00
parent 4827e56cac
commit 8614f79da3
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ class Reader extends AbstractReader
* Sets the EOL for the CSV. * Sets the EOL for the CSV.
* Needs to be called before opening the reader. * Needs to be called before opening the reader.
* *
* @param string $fieldEnclosure Character that enclose fields * @param string $endOfLineCharacter used to properly get lines from the CSV file.
* @return Reader * @return Reader
*/ */
public function setEndOfLineCharacter($endOfLineCharacter) public function setEndOfLineCharacter($endOfLineCharacter)

View File

@ -59,13 +59,13 @@ class RowIterator implements IteratorInterface
* @param string $encoding Encoding of the CSV file to be read * @param string $encoding Encoding of the CSV file to be read
* @param \Box\Spout\Common\Helper\GlobalFunctionsHelper $globalFunctionsHelper * @param \Box\Spout\Common\Helper\GlobalFunctionsHelper $globalFunctionsHelper
*/ */
public function __construct($filePointer, $fieldDelimiter, $fieldEnclosure, $encoding, $EOLDelimiter, $globalFunctionsHelper) public function __construct($filePointer, $fieldDelimiter, $fieldEnclosure, $encoding, $endOfLineDelimiter, $globalFunctionsHelper)
{ {
$this->filePointer = $filePointer; $this->filePointer = $filePointer;
$this->fieldDelimiter = $fieldDelimiter; $this->fieldDelimiter = $fieldDelimiter;
$this->fieldEnclosure = $fieldEnclosure; $this->fieldEnclosure = $fieldEnclosure;
$this->encoding = $encoding; $this->encoding = $encoding;
$this->inputEOLDelimiter = $EOLDelimiter; $this->inputEOLDelimiter = $endOfLineDelimiter;
$this->globalFunctionsHelper = $globalFunctionsHelper; $this->globalFunctionsHelper = $globalFunctionsHelper;
$this->encodingHelper = new EncodingHelper($globalFunctionsHelper); $this->encodingHelper = new EncodingHelper($globalFunctionsHelper);