Skip to content

Commit

Permalink
Fixed the JSONStreamLoader to add new lines chars
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Sep 13, 2021
1 parent 90ef45e commit 4673e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Loader/JSONStreamLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ final class JSONStreamLoader extends StreamLoader
{
protected function formatLine($line)
{
return \json_encode($line);
return \json_encode($line) . PHP_EOL;
}
}

0 comments on commit 4673e72

Please sign in to comment.