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 06ce49c commit 92eee08Copy full SHA for 92eee08
src/CsvFile.php
@@ -66,7 +66,7 @@ public function __destruct()
66
public function headers(array $fields): CsvFile
67
{
68
if ($this->isEmpty()) {
69
- $this->append(array_keys($fields));
+ $this->append($fields);
70
}
71
72
return $this;
0 commit comments