Skip to content

Commit

Permalink
Use same delimiter in reader and writer (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer authored Mar 6, 2022
1 parent 73c4408 commit 707d0fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CsvWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ class CsvWriter extends AbstractStreamWriter
/**
* @var string
*/
private $delimiter = ';';
private $delimiter;

/**
* @var string
*/
private $enclosure = '"';
private $enclosure;

/**
* @var boolean
Expand All @@ -40,7 +40,7 @@ class CsvWriter extends AbstractStreamWriter
* @param boolean $utf8Encoding
* @param boolean $prependHeaderRow
*/
public function __construct($delimiter = ';', $enclosure = '"', $stream = null, $utf8Encoding = false, $prependHeaderRow = false)
public function __construct($delimiter = ',', $enclosure = '"', $stream = null, $utf8Encoding = false, $prependHeaderRow = false)
{
parent::__construct($stream);

Expand Down

0 comments on commit 707d0fb

Please sign in to comment.