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

@@ -422,8 +422,7 @@ class BillRepository implements BillRepositoryInterface
/**
* Given the date in $date, this method will return a moment in the future where the bill is expected to be paid.
*
* @throws \JsonException
*/
* */
public function nextExpectedMatch(Bill $bill, Carbon $date): Carbon
{
$cache = new CacheProperties();
@@ -464,8 +463,7 @@ class BillRepository implements BillRepositoryInterface
/**
* @throws FireflyException
* @throws \JsonException
*/
* */
public function store(array $data): Bill
{
/** @var BillFactory $factory */
@@ -645,8 +643,7 @@ class BillRepository implements BillRepositoryInterface
/**
* @throws FireflyException
* @throws \JsonException
*/
* */
public function update(Bill $bill, array $data): Bill
{
/** @var BillUpdateService $service */