Code cleanup.

This commit is contained in:
James Cole
2021-03-28 11:43:07 +02:00
parent 5abbb8a807
commit 2c575f3ca5
379 changed files with 304 additions and 1727 deletions

View File

@@ -422,8 +422,6 @@ class BudgetRepository implements BudgetRepositoryInterface
if (null === $currency) {
$currency = app('amount')->getDefaultCurrencyByUser($this->user);
}
if (null === $autoBudget
&& array_key_exists('auto_budget_type', $data)
&& array_key_exists('auto_budget_amount', $data)
@@ -463,8 +461,6 @@ class BudgetRepository implements BudgetRepositoryInterface
if (null !== $autoBudget) {
$autoBudget->save();
}
return $budget;
}