Various code cleanup.

This commit is contained in:
James Cole
2020-10-31 08:00:44 +01:00
parent 55c8b9012c
commit c8a87833c6
15 changed files with 28 additions and 110 deletions

View File

@@ -401,14 +401,6 @@ class CurrencyRepository implements CurrencyRepositoryInterface
return $preferred;
}
/**
* @return Collection
*/
public function getEnabled(): Collection
{
return TransactionCurrency::where('enabled', true)->orderBy('code', 'ASC')->get();
}
/**
* Get currency exchange rate.
*

View File

@@ -203,11 +203,6 @@ interface CurrencyRepositoryInterface
*/
public function getCurrencyByPreference(Preference $preference): TransactionCurrency;
/**
* @return Collection
*/
public function getEnabled(): Collection;
/**
* Get currency exchange rate.
*