mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Replace missing methods.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user