Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -1,6 +1,5 @@
<?php
/*
* ShowController.php
* Copyright (c) 2023 james@firefly-iii.org
@@ -60,8 +59,6 @@ class IndexController extends Controller
/**
* TODO see autocomplete/accountcontroller for list.
*
* @return JsonResponse
*/
public function index(): JsonResponse
{
@@ -75,6 +72,7 @@ class IndexController extends Controller
return response()
->json($this->jsonApiList('piggy-banks', $paginator, $transformer))
->header('Content-Type', self::CONTENT_TYPE);
->header('Content-Type', self::CONTENT_TYPE)
;
}
}