Some cleaning up [skip ci]

This commit is contained in:
James Cole
2016-04-26 14:56:42 +02:00
parent dfbe6e5b6e
commit edf9dbc6e8
3 changed files with 4 additions and 16 deletions

View File

@@ -62,6 +62,7 @@ class CsvExporter extends BasicExporter implements ExporterInterface
$rows = [];
// add header:
/** @var Entry $first */
$first = $this->getEntries()->first();
$rows[] = array_keys(get_object_vars($first));