Move method to correct repository.

This commit is contained in:
James Cole
2019-08-30 07:49:08 +02:00
parent 4cdbea2737
commit e525960320
5 changed files with 34 additions and 22 deletions

View File

@@ -47,13 +47,6 @@ interface BudgetRepositoryInterface
*/
public function destroy(Budget $budget): bool;
/**
* Destroy a budget limit.
*
* @param BudgetLimit $budgetLimit
*/
public function destroyBudgetLimit(BudgetLimit $budgetLimit): void;
/**
* @param int|null $budgetId
* @param string|null $budgetName
@@ -72,6 +65,8 @@ interface BudgetRepositoryInterface
public function findByName(?string $name): ?Budget;
/**
* TODO refactor to "find"
*
* @param int|null $budgetId
*
* @return Budget|null