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

@@ -71,8 +71,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function index(): JsonResponse
{
$pageSize = $this->parameters->get('limit');
@@ -102,8 +101,7 @@ class ShowController extends Controller
* Show a currency.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function show(TransactionCurrency $currency): JsonResponse
{
/** @var User $user */
@@ -131,8 +129,7 @@ class ShowController extends Controller
* Show a currency.
*
* @throws FireflyException
* @throws \JsonException
*/
* */
public function showDefault(): JsonResponse
{
/** @var User $user */