mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Clean up repository.
This commit is contained in:
@@ -25,14 +25,6 @@ interface AccountRepositoryInterface
|
||||
*/
|
||||
public function countAccounts(array $types): int;
|
||||
|
||||
/**
|
||||
* @param Account $account
|
||||
* @param Account $moveTo
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function destroy(Account $account, Account $moveTo): bool;
|
||||
|
||||
/**
|
||||
* This method is almost the same as ::earnedInPeriod, but only works for revenue accounts
|
||||
* instead of the implied asset accounts for ::earnedInPeriod. ::earnedInPeriod will tell you
|
||||
@@ -218,28 +210,5 @@ interface AccountRepositoryInterface
|
||||
* @return string
|
||||
*/
|
||||
public function spentInPeriod(Collection $accounts, Carbon $start, Carbon $end): string;
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
*
|
||||
* @return Account
|
||||
*/
|
||||
public function store(array $data) : Account;
|
||||
|
||||
/**
|
||||
* @param $account
|
||||
* @param $name
|
||||
* @param $value
|
||||
*
|
||||
* @return AccountMeta
|
||||
*/
|
||||
public function storeMeta(Account $account, string $name, $value): AccountMeta;
|
||||
|
||||
/**
|
||||
* @param Account $account
|
||||
* @param array $data
|
||||
*
|
||||
* @return Account
|
||||
*/
|
||||
public function update(Account $account, array $data): Account;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user