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

@@ -69,8 +69,7 @@ class UpdateController extends Controller
* Disable a currency.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function disable(TransactionCurrency $currency): JsonResponse
{
// must be unused.
@@ -134,8 +133,7 @@ class UpdateController extends Controller
* Enable a currency.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function enable(TransactionCurrency $currency): JsonResponse
{
$this->repository->enable($currency);
@@ -162,8 +160,7 @@ class UpdateController extends Controller
* Update a currency.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function update(UpdateRequest $request, TransactionCurrency $currency): JsonResponse
{
$data = $request->getAll();