mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-04 12:29:47 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -404,11 +404,8 @@ trait ModifiesPiggyBanks
|
||||
|
||||
return $piggyBank;
|
||||
}
|
||||
// remove if name is empty. Should be overruled by ID.
|
||||
if ('' === $objectGroupTitle) {
|
||||
$piggyBank->objectGroups()->sync([]);
|
||||
$piggyBank->save();
|
||||
}
|
||||
$piggyBank->objectGroups()->sync([]);
|
||||
$piggyBank->save();
|
||||
}
|
||||
|
||||
// try also with ID:
|
||||
|
||||
Reference in New Issue
Block a user