Skip to content

Commit

Permalink
Fixes csv params propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
pitchart committed Apr 16, 2020
1 parent 5c93f6f commit a899f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public function toResource(?callable $callback = null)
*/
public function toCsv(string $delimiter = ',', string $enclosure = '"', string $escapeChar = "\\")
{
return $this->terminate(t\to_csv());
return $this->terminate(t\to_csv($delimiter, $enclosure, $escapeChar));
}

/**
Expand Down

0 comments on commit a899f61

Please sign in to comment.