Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #4055
James Cole5fce6af00a7c
diff --git a/app/Factory/TransactionFactory.php b/app/Factory/TransactionFactory.phpindex 0b5f3f2aa9..49a1b59ffd 100644--- a/app/Factory/TransactionFactory.php+++ b/app/Factory/TransactionFactory.php@@ -40,7 +40,7 @@ class TransactionFactory{private Account $account;private TransactionCurrency $currency;- private TransactionCurrency $foreignCurrency;+ private ?TransactionCurrency $foreignCurrency;private TransactionJournal $journal;private bool $reconciled;private User $user;diff --git a/app/Generator/Report/Budget/MonthReportGenerator.php b/app/Generator/Report/Budget/MonthReportGenerator.phpindex e44cce9469..e0f43f9dfe 100644--- a/app/Generator/Report/Budget/MonthReportGenerator.php+++ b/app/Generator/Report/Budget/MonthReportGenerator.php@@ -52,7 +52,7 @@ class MonthReportGenerator implements ReportGeneratorInterface*/public function __construct(){- $this->expenses = new Collection;+ $this->expenses = [];}/**