Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -33,8 +33,6 @@ use Illuminate\Support\Collection;
/**
* Class ReportHelper.
*
*/
class ReportHelper implements ReportHelperInterface
{
@@ -43,8 +41,6 @@ class ReportHelper implements ReportHelperInterface
/**
* ReportHelper constructor.
*
* @param BudgetRepositoryInterface $budgetRepository
*/
public function __construct(BudgetRepositoryInterface $budgetRepository)
{
@@ -56,12 +52,6 @@ class ReportHelper implements ReportHelperInterface
* the users bills and their payments.
*
* Excludes bills which have not had a payment on the mentioned accounts.
*
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return array
*/
public function getBillReport(Collection $accounts, Carbon $start, Carbon $end): array
{
@@ -112,10 +102,6 @@ class ReportHelper implements ReportHelperInterface
/**
* Generate a list of months for the report.
*
* @param Carbon $date
*
* @return array
*/
public function listOfMonths(Carbon $date): array
{