mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Various code cleanup [skip ci]
This commit is contained in:
@@ -73,21 +73,13 @@ interface BudgetRepositoryInterface
|
||||
* Find a budget.
|
||||
*
|
||||
* @param int $budgetId
|
||||
*
|
||||
* @deprecated
|
||||
*
|
||||
* @return Budget
|
||||
*/
|
||||
public function find(int $budgetId): Budget;
|
||||
|
||||
/**
|
||||
* Find a budget or return NULL
|
||||
*
|
||||
* @param int $budgetId
|
||||
*
|
||||
* @return Budget|null
|
||||
*/
|
||||
public function findNull(int $budgetId): ?Budget;
|
||||
|
||||
/**
|
||||
* Find a budget.
|
||||
*
|
||||
@@ -97,6 +89,15 @@ interface BudgetRepositoryInterface
|
||||
*/
|
||||
public function findByName(string $name): ?Budget;
|
||||
|
||||
/**
|
||||
* Find a budget or return NULL
|
||||
*
|
||||
* @param int $budgetId
|
||||
*
|
||||
* @return Budget|null
|
||||
*/
|
||||
public function findNull(int $budgetId): ?Budget;
|
||||
|
||||
/**
|
||||
* This method returns the oldest journal or transaction date known to this budget.
|
||||
* Will cache result.
|
||||
|
Reference in New Issue
Block a user