Remove JSON exceptions that are not thrown anyway.

This commit is contained in:
James Cole
2023-12-22 07:47:13 +01:00
parent 34e22e0747
commit 58dea55d38
52 changed files with 105 additions and 211 deletions

View File

@@ -49,8 +49,7 @@ class AccountTransformer extends AbstractTransformer
* Transform the account.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function transform(Account $account): array
{
$this->repository->setUser($account->user);
@@ -157,8 +156,7 @@ class AccountTransformer extends AbstractTransformer
/**
* @throws FireflyException
* @throws \JsonException
*/
* */
private function getCurrency(Account $account): array
{
$currency = $this->repository->getAccountCurrency($account);