mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -49,7 +49,7 @@ class BudgetReportGenerator
|
||||
private Carbon $end;
|
||||
private readonly NoBudgetRepositoryInterface $nbRepository;
|
||||
private readonly OperationsRepositoryInterface $opsRepository;
|
||||
private array $report;
|
||||
private array $report = [];
|
||||
private readonly BudgetRepositoryInterface $repository;
|
||||
private Carbon $start;
|
||||
|
||||
@@ -62,7 +62,6 @@ class BudgetReportGenerator
|
||||
$this->blRepository = app(BudgetLimitRepositoryInterface::class);
|
||||
$this->opsRepository = app(OperationsRepositoryInterface::class);
|
||||
$this->nbRepository = app(NoBudgetRepositoryInterface::class);
|
||||
$this->report = [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -120,7 +120,7 @@ class TransactionSummarizer
|
||||
}
|
||||
|
||||
// then process foreign amount, if it exists.
|
||||
if (0 !== $foreignCurrencyId && true === $includeForeign) {
|
||||
if (0 !== $foreignCurrencyId && $includeForeign) {
|
||||
$amount = (string)($journal['foreign_amount'] ?? '0');
|
||||
$array[$foreignCurrencyId] ??= [
|
||||
'sum' => '0',
|
||||
|
||||
Reference in New Issue
Block a user