mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 16:40:10 +00:00
Add different setUser call.
This commit is contained in:
@@ -29,6 +29,7 @@ use FireflyIII\Models\CurrencyExchangeRate;
|
||||
use FireflyIII\Models\Preference;
|
||||
use FireflyIII\Models\TransactionCurrency;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Contracts\Auth\Authenticatable;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
@@ -229,9 +230,9 @@ interface CurrencyRepositoryInterface
|
||||
public function setExchangeRate(TransactionCurrency $fromCurrency, TransactionCurrency $toCurrency, Carbon $date, float $rate): CurrencyExchangeRate;
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
* @param User|Authenticatable|null $user
|
||||
*/
|
||||
public function setUser(User $user);
|
||||
public function setUser(User|Authenticatable|null $user): void;
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
|
||||
Reference in New Issue
Block a user