Small code cleanup.

This commit is contained in:
James Cole
2025-02-09 07:10:05 +01:00
parent 6172d60e00
commit c61389037d
4 changed files with 5 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ class TransactionJournalObserver
$transaction->delete();
}
});
/** @var Attachment $attachment */
foreach ($transactionJournal->attachments()->get() as $attachment) {
$repository->destroy($attachment);