mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-03 20:56:21 +00:00
Fix #4055
This commit is contained in:
@@ -40,7 +40,7 @@ class TransactionFactory
|
|||||||
{
|
{
|
||||||
private Account $account;
|
private Account $account;
|
||||||
private TransactionCurrency $currency;
|
private TransactionCurrency $currency;
|
||||||
private TransactionCurrency $foreignCurrency;
|
private ?TransactionCurrency $foreignCurrency;
|
||||||
private TransactionJournal $journal;
|
private TransactionJournal $journal;
|
||||||
private bool $reconciled;
|
private bool $reconciled;
|
||||||
private User $user;
|
private User $user;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->expenses = new Collection;
|
$this->expenses = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user