Various code cleanup.

This commit is contained in:
James Cole
2020-10-31 08:00:44 +01:00
parent 55c8b9012c
commit c8a87833c6
15 changed files with 28 additions and 110 deletions

View File

@@ -35,14 +35,10 @@ use Throwable;
*/
class MonthReportGenerator implements ReportGeneratorInterface
{
/** @var Collection The accounts involved in the report. */
private $accounts;
/** @var Carbon The end date */
private $end;
/** @var Collection The expense accounts. */
private $expense;
/** @var Carbon The start date. */
private $start;
private Collection $accounts;
private Carbon $end;
private Collection $expense;
private Carbon $start;
/**
* Generate the report.

View File

@@ -41,16 +41,11 @@ use Throwable;
*/
class MonthReportGenerator implements ReportGeneratorInterface
{
/** @var Collection The accounts in the report. */
private $accounts;
/** @var Collection The budgets in the report. */
private $budgets;
/** @var Carbon The end date. */
private $end;
/** @var array The expenses in the report. */
private $expenses;
/** @var Carbon The start date. */
private $start;
private Collection $accounts;
private Collection $budgets;
private Carbon $end;
private array $expenses;
private Carbon $start;
/**
* MonthReportGenerator constructor.