Update boxes.

This commit is contained in:
James Cole
2022-06-06 17:39:50 +02:00
parent c916fbbee9
commit f13dd18b6f
33 changed files with 479 additions and 87 deletions

View File

@@ -46,8 +46,8 @@ interface NetWorthInterface
*
* @param Collection $accounts
* @param Carbon $date
*
* @return array
* @deprecated
*/
public function getNetWorthByCurrency(Collection $accounts, Carbon $date): array;
@@ -56,4 +56,15 @@ interface NetWorthInterface
*/
public function setUser(User $user): void;
/**
* TODO move to repository
*
* Same as above but cleaner function with less dependencies.
*
* @param Carbon $date
*
* @return array
*/
public function sumNetWorthByCurrency(Carbon $date): array;
}