Big refactor to remove the deprecated transaction collector.

This commit is contained in:
James Cole
2019-05-30 12:31:19 +02:00
parent 10a6ff9bf8
commit 8b7e87ae57
117 changed files with 1314 additions and 1208 deletions

View File

@@ -39,9 +39,9 @@ interface PopupReportInterface
* @param Account $account
* @param array $attributes
*
* @return Collection
* @return array
*/
public function balanceForBudget(Budget $budget, Account $account, array $attributes): Collection;
public function balanceForBudget(Budget $budget, Account $account, array $attributes): array;
/**
* Get balances for transactions without a budget.
@@ -49,9 +49,9 @@ interface PopupReportInterface
* @param Account $account
* @param array $attributes
*
* @return Collection
* @return array
*/
public function balanceForNoBudget(Account $account, array $attributes): Collection;
public function balanceForNoBudget(Account $account, array $attributes): array;
/**
* Group by budget.
@@ -59,9 +59,9 @@ interface PopupReportInterface
* @param Budget $budget
* @param array $attributes
*
* @return Collection
* @return array
*/
public function byBudget(Budget $budget, array $attributes): Collection;
public function byBudget(Budget $budget, array $attributes): array;
/**
* Group by category.
@@ -69,9 +69,9 @@ interface PopupReportInterface
* @param Category $category
* @param array $attributes
*
* @return Collection
* @return array
*/
public function byCategory(Category $category, array $attributes): Collection;
public function byCategory(Category $category, array $attributes): array;
/**
* Do something with expense. Sorry, I am not very inspirational here.
@@ -79,9 +79,9 @@ interface PopupReportInterface
* @param Account $account
* @param array $attributes
*
* @return Collection
* @return array
*/
public function byExpenses(Account $account, array $attributes): Collection;
public function byExpenses(Account $account, array $attributes): array;
/**
* Do something with income. Sorry, I am not very inspirational here.
@@ -89,7 +89,7 @@ interface PopupReportInterface
* @param Account $account
* @param array $attributes
*
* @return Collection
* @return array
*/
public function byIncome(Account $account, array $attributes): Collection;
public function byIncome(Account $account, array $attributes): array;
}