Replace missing methods.

This commit is contained in:
James Cole
2025-03-08 15:57:59 +01:00
parent a8f36a2490
commit cd08c16dee
10 changed files with 31 additions and 21 deletions

View File

@@ -65,6 +65,12 @@ class AccountRepository implements AccountRepositoryInterface, UserGroupInterfac
return true;
}
#[\Override]
public function getAccountBalances(Account $account): Collection
{
return $account->accountBalances;
}
/**
* Find account with same name OR same IBAN or both, but not the same type or ID.
*/

View File

@@ -52,6 +52,7 @@ interface AccountRepositoryInterface
* Moved here from account CRUD.
*/
public function count(array $types): int;
public function getAccountBalances(Account $account): Collection;
/**
* Moved here from account CRUD.