mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 05:06:37 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -41,17 +41,9 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
||||
private Collection $accounts;
|
||||
private Collection $budgets;
|
||||
private Carbon $end;
|
||||
private array $expenses;
|
||||
private array $expenses = [];
|
||||
private Carbon $start;
|
||||
|
||||
/**
|
||||
* MonthReportGenerator constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->expenses = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates the report.
|
||||
*
|
||||
@@ -65,7 +57,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
||||
try {
|
||||
$result = view(
|
||||
'reports.budget.month',
|
||||
compact('accountIds', 'budgetIds')
|
||||
['accountIds' => $accountIds, 'budgetIds' => $budgetIds]
|
||||
)
|
||||
->with('start', $this->start)->with('end', $this->end)
|
||||
->with('budgets', $this->budgets)
|
||||
|
||||
Reference in New Issue
Block a user