More refactoring.

This commit is contained in:
James Cole
2016-05-13 15:58:30 +02:00
parent 20e1e50032
commit 3e36a29c23
5 changed files with 6 additions and 173 deletions

View File

@@ -89,34 +89,6 @@ interface AccountRepositoryInterface
public function getFirstTransaction(TransactionJournal $journal, Account $account): Transaction;
/**
* @deprecated
*
* SEE OTHER GETJOURNALS METHODS.
*
* @param Account $account
* @param int $page
* @param int $pageSize
*
* @return LengthAwarePaginator
*/
public function getJournals(Account $account, int $page, int $pageSize = 50): LengthAwarePaginator;
/**
* @deprecated
*
* SEE OTHER GETJOURNALS METHODS.
*
* @param Account $account
* @param Carbon $start
* @param Carbon $end
*
* @return Collection
*/
public function getJournalsInRange(Account $account, Carbon $start, Carbon $end): Collection;
/**
* @deprecated
*
* Get the accounts of a user that have piggy banks connected to them.
*
* @return Collection
@@ -124,8 +96,6 @@ interface AccountRepositoryInterface
public function getPiggyBankAccounts(): Collection;
/**
* @deprecated
*
* Get savings accounts and the balance difference in the period.
*
* @return Collection
@@ -143,7 +113,6 @@ interface AccountRepositoryInterface
public function journalsInPeriod(Collection $accounts, array $types, Carbon $start, Carbon $end): Collection;
/**
* @deprecated
*
* @param Account $account
* @param Carbon $date
@@ -171,7 +140,6 @@ interface AccountRepositoryInterface
public function oldestJournalDate(Account $account): Carbon;
/**
*
*
* @param Account $account
*
@@ -204,13 +172,6 @@ interface AccountRepositoryInterface
*/
public function storeMeta(Account $account, string $name, $value): AccountMeta;
/**
* @deprecated
*
* @return string
*/
public function sumOfEverything() : string;
/**
* @param Account $account
* @param array $data