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

@@ -343,7 +343,11 @@ class TransactionJournalFactory
/**
* If this transaction already exists, throw an error.
*
* @param string $hash
*
* @throws DuplicateTransactionException
* @throws JsonException
* @throws \Safe\Exceptions\JsonException
*/
private function errorIfDuplicate(string $hash): void
{
@@ -478,7 +482,6 @@ class TransactionJournalFactory
}
/**
* @throws FireflyException
*/
private function getCurrency(?TransactionCurrency $currency, Account $account): TransactionCurrency
{