Add missing methods so phpstan stops complaining.

This commit is contained in:
James Cole
2025-03-08 15:52:50 +01:00
parent 7f12d06989
commit a8f36a2490
34 changed files with 644 additions and 3 deletions

View File

@@ -24,10 +24,25 @@ declare(strict_types=1);
namespace FireflyIII\Repositories\ExchangeRate;
use Carbon\Carbon;
use FireflyIII\Enums\UserRoleEnum;
use FireflyIII\Models\CurrencyExchangeRate;
use FireflyIII\Models\TransactionCurrency;
use FireflyIII\Models\UserGroup;
use FireflyIII\User;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Support\Collection;
/**
* Interface ExchangeRateRepositoryInterface
*
* @method setUserGroup(UserGroup $group)
* @method getUserGroup()
* @method getUser()
* @method checkUserGroupAccess(UserRoleEnum $role)
* @method setUser(null|Authenticatable|User $user)
* @method setUserGroupById(int $userGroupId)
*/
interface ExchangeRateRepositoryInterface
{
public function deleteRate(CurrencyExchangeRate $rate): void;