Fix phpstan issues

This commit is contained in:
James Cole
2025-09-07 07:31:00 +02:00
parent b87b99a755
commit 296a64e284
103 changed files with 605 additions and 617 deletions

View File

@@ -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);