mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Code reordering and reformatting. I should really start employing style CI.
This commit is contained in:
@@ -61,6 +61,8 @@ use League\Csv\Writer;
|
||||
*/
|
||||
class ExportDataGenerator
|
||||
{
|
||||
private const ADD_RECORD_ERR = 'Could not add record to set: %s';
|
||||
private const EXPORT_ERR = 'Could not export to string: %s';
|
||||
private Collection $accounts;
|
||||
private Carbon $end;
|
||||
private bool $exportAccounts;
|
||||
@@ -75,9 +77,6 @@ class ExportDataGenerator
|
||||
private Carbon $start;
|
||||
private User $user;
|
||||
|
||||
private const ADD_RECORD_ERR = 'Could not add record to set: %s';
|
||||
private const EXPORT_ERR = 'Could not export to string: %s';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->accounts = new Collection;
|
||||
@@ -644,7 +643,7 @@ class ExportDataGenerator
|
||||
*/
|
||||
private function exportTransactions(): string
|
||||
{
|
||||
// See reference nr. 41
|
||||
// See reference nr. 41
|
||||
$header = ['user_id', 'group_id', 'journal_id', 'created_at', 'updated_at', 'group_title', 'type', 'amount', 'foreign_amount', 'currency_code',
|
||||
'foreign_currency_code', 'description', 'date', 'source_name', 'source_iban', 'source_type', 'destination_name', 'destination_iban',
|
||||
'destination_type', 'reconciled', 'category', 'budget', 'bill', 'tags', 'notes',
|
||||
|
Reference in New Issue
Block a user