Skip to content

Commit 4673e72

Browse files
committed
Fixed the JSONStreamLoader to add new lines chars
1 parent 90ef45e commit 4673e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Loader/JSONStreamLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ final class JSONStreamLoader extends StreamLoader
66
{
77
protected function formatLine($line)
88
{
9-
return \json_encode($line);
9+
return \json_encode($line) . PHP_EOL;
1010
}
1111
}

0 commit comments

Comments
 (0)