Various code cleanup.

This commit is contained in:
James Cole
2025-10-05 12:57:58 +02:00
parent 072212c112
commit 6341743cf9
169 changed files with 482 additions and 305 deletions

View File

@@ -285,7 +285,6 @@ class AccountUpdateService
}
/**
* @throws FireflyException
*/
private function updatePreferences(Account $account): void
{

View File

@@ -47,7 +47,6 @@ class BillUpdateService
protected User $user;
/**
* @throws FireflyException
*/
public function update(Bill $bill, array $data): Bill
{

View File

@@ -139,9 +139,7 @@ class CategoryUpdateService
}
if ('' === $note) {
$dbNote = $category->notes()->first();
if (null !== $dbNote) {
$dbNote->delete();
}
$dbNote?->delete();
return;
}