We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e5e1a commit 3c4ac65Copy full SHA for 3c4ac65
src/File/Csv.php
@@ -34,7 +34,7 @@ public function convert(): string
34
$jsonObjects = array_map(function ($line) use ($splitKeys) {
35
$values = $this->parseCsv($line);
36
$jsonObject = [];
37
- for ($valueIndex = 0; $valueIndex < count($values); $valueIndex++) {
+ for ($valueIndex = 0, $count = count($values); $valueIndex < $count; $valueIndex++) {
38
if ($values[$valueIndex] == "") {
39
continue;
40
}
0 commit comments