mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Fix phpstan messages.
This commit is contained in:
@@ -39,11 +39,7 @@ class BudgetDestroyService
|
||||
*/
|
||||
public function destroy(Budget $budget): void
|
||||
{
|
||||
try {
|
||||
$budget->delete();
|
||||
} catch (Exception $e) {
|
||||
// @ignoreException
|
||||
}
|
||||
|
||||
// also delete auto budget:
|
||||
foreach ($budget->autoBudgets()->get() as $autoBudget) {
|
||||
|
||||
Reference in New Issue
Block a user