mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix phpstan issues
This commit is contained in:
@@ -310,10 +310,10 @@ class BudgetRepository implements BudgetRepositoryInterface, UserGroupInterface
|
||||
|
||||
return $budget;
|
||||
}
|
||||
if (0 === $autoBudgetType && !$autoBudget instanceof AutoBudget) {
|
||||
if (0 === $autoBudgetType) {
|
||||
return $budget;
|
||||
}
|
||||
if (null === $autoBudgetType && !$autoBudget instanceof AutoBudget) {
|
||||
if (null === $autoBudgetType) {
|
||||
return $budget;
|
||||
}
|
||||
$this->updateAutoBudget($budget, $data);
|
||||
|
Reference in New Issue
Block a user