summaryrefslogtreecommitdiffstats
path: root/src/Config/Output.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config/Output.php')
-rw-r--r--src/Config/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Config/Output.php b/src/Config/Output.php
index 991b9de..ca2cf44 100644
--- a/src/Config/Output.php
+++ b/src/Config/Output.php
@@ -181,8 +181,8 @@ trait Output
$bom = $this->output_bom;
}
$csv = $this->getIterator();
- $csv->rewind();
$csv->setFlags(SplFileObject::READ_CSV);
+ $csv->rewind();
if (!empty($bom)) {
$csv->fseek(mb_strlen($input_bom));
}