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

@@ -40,8 +40,7 @@ trait ChartGeneration
* Shows an overview of the account balances for a set of accounts.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
protected function accountBalanceChart(Collection $accounts, Carbon $start, Carbon $end): array // chart helper method.
{
// chart properties for cache:

View File

@@ -134,8 +134,7 @@ class BudgetReportGenerator
/**
* @throws FireflyException
* @throws \JsonException
*/
* */
public function setUser(User $user): void
{
$this->repository->setUser($user);

View File

@@ -89,8 +89,7 @@ class Steam
* [yyyy-mm-dd] => 123,2
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function balanceInRange(Account $account, Carbon $start, Carbon $end, ?TransactionCurrency $currency = null): array
{
$cache = new CacheProperties();