Remove methods, point to interface.

This commit is contained in:
James Cole
2025-02-23 12:27:07 +01:00
parent b93cfc5de2
commit 8d464962a8
30 changed files with 53 additions and 136 deletions

View File

@@ -27,9 +27,6 @@ use Carbon\Carbon;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Models\AutoBudget;
use FireflyIII\Models\Budget;
use FireflyIII\Models\UserGroup;
use FireflyIII\User;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Support\Collection;
/**
@@ -41,8 +38,6 @@ interface BudgetRepositoryInterface
public function budgetStartsWith(string $query, int $limit): Collection;
public function setUserGroup(UserGroup $userGroup): void;
/**
* Returns the amount that is budgeted in a period.
*/
@@ -102,8 +97,6 @@ interface BudgetRepositoryInterface
public function setBudgetOrder(Budget $budget, int $order): void;
public function setUser(null|Authenticatable|User $user): void;
/**
* Used in the v2 API to calculate the amount of money spent in all active budgets.
*/