Skip to content

Commit 46f2ee8

Browse files
committed
add comment about ->eol
1 parent 8d9412f commit 46f2ee8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/Csv/Native.php

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function readString(
3232
$separator = $this->getSeparator();
3333

3434
// parse rows and take into account enclosure and escaped parts
35+
// we use $this->eol as a separator as a mean to split lines
3536
/** @var array<string> $data */
3637
$data = str_getcsv($contents, $this->eol, $this->enclosure, $this->escape);
3738

0 commit comments

Comments
 (0)