mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Resolved code smell
This commit is contained in:
parent
acc496e3e9
commit
28faee6e41
@ -129,7 +129,7 @@ class CreateAutoBudgetLimits implements ShouldQueue
|
||||
|
||||
// find budget limit:
|
||||
$budgetLimit = $this->findBudgetLimit($autoBudget->budget, $start, $end);
|
||||
$type = $autoBudget->auto_budget_type;
|
||||
|
||||
if (null === $budgetLimit && AutoBudget::AUTO_BUDGET_RESET === (int)$autoBudget->auto_budget_type) {
|
||||
// that's easy: create one.
|
||||
// do nothing else.
|
||||
|
Loading…
Reference in New Issue
Block a user