mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove the use of deprecated methods.
This commit is contained in:
@@ -50,27 +50,6 @@ interface NetWorthInterface
|
||||
*/
|
||||
public function byAccounts(Collection $accounts, Carbon $date): array;
|
||||
|
||||
/**
|
||||
* TODO unsure why this is deprecated.
|
||||
*
|
||||
* Returns the user's net worth in an array with the following layout:
|
||||
*
|
||||
* -
|
||||
* - currency: TransactionCurrency object
|
||||
* - date: the current date
|
||||
* - amount: the user's net worth in that currency.
|
||||
*
|
||||
* This repeats for each currency the user has transactions in.
|
||||
* Result of this method is cached.
|
||||
*
|
||||
* @param Collection $accounts
|
||||
* @param Carbon $date
|
||||
*
|
||||
* @return array
|
||||
* @deprecated
|
||||
*/
|
||||
public function getNetWorthByCurrency(Collection $accounts, Carbon $date): array;
|
||||
|
||||
/**
|
||||
* @param User|Authenticatable|null $user
|
||||
*/
|
||||
|
Reference in New Issue
Block a user