Mark as deprecated.

This commit is contained in:
James Cole
2025-02-23 12:27:34 +01:00
parent 8d464962a8
commit 60aef0de1a
22 changed files with 88 additions and 52 deletions

View File

@@ -27,15 +27,17 @@ namespace FireflyIII\Repositories\UserGroups\Currency;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Models\TransactionCurrency;
use FireflyIII\Models\UserGroup;
use FireflyIII\User;
use Illuminate\Support\Collection;
/**
* Interface CurrencyRepositoryInterface
*
* @deprecated
*/
interface CurrencyRepositoryInterface
{
public function currencyInUse(TransactionCurrency $currency): bool;
public function getUserGroup(): UserGroup;
/**
* Currency is in use where exactly.
*/
@@ -86,14 +88,14 @@ interface CurrencyRepositoryInterface
public function getByIds(array $ids): Collection;
public function getUserGroup(): UserGroup;
public function isFallbackCurrency(TransactionCurrency $currency): bool;
public function makeDefault(TransactionCurrency $currency): void;
public function searchCurrency(string $search, int $limit): Collection;
public function setUser(User $user): void;
/**
* @throws FireflyException
*/