Skip to content

Commit fa05126

Browse files
Merge pull request #12 from bergmab/patch-1
Update SimpleCsvService.php
2 parents 625e741 + ca00037 commit fa05126

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SimpleCsvService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected function flattenRow($entry): array
9494

9595
protected function openFileObject(string $path, string $mode = 'r'): void
9696
{
97-
$this->file = new SplFileObject($path, $mode);
97+
$this->file = new \SplFileObject($path, $mode);
9898
}
9999

100100
protected function writeLines($collection): void
@@ -113,7 +113,6 @@ protected function writeLines($collection): void
113113
$this->writeLine($this->headers);
114114
}
115115
$this->writeLine(array_values($this->flattenRow($entry)));
116-
unset($entry);
117116
}
118117
}
119118
}

0 commit comments

Comments
 (0)