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