mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Fix method.
This commit is contained in:
@@ -201,6 +201,17 @@ class CurrencyRepository implements CurrencyRepositoryInterface
|
||||
return $all;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the complete set of transactions but needs
|
||||
* no user object.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getCompleteSet(): Collection
|
||||
{
|
||||
return TransactionCurrency::orderBy('code', 'ASC')->get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param TransactionCurrency $currency
|
||||
*
|
||||
|
@@ -37,6 +37,15 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
interface CurrencyRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Returns the complete set of transactions but needs
|
||||
* no user object.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getCompleteSet(): Collection;
|
||||
|
||||
/**
|
||||
* @param TransactionCurrency $currency
|
||||
*
|
||||
|
Reference in New Issue
Block a user