Various code cleanup.

This commit is contained in:
James Cole
2025-10-05 12:57:58 +02:00
parent 072212c112
commit 6341743cf9
169 changed files with 482 additions and 305 deletions

View File

@@ -52,7 +52,7 @@ class BoxController extends Controller
#[Deprecated]
public function available(): JsonResponse
{
return response()->json([]);
return response()->json();
}
/**

View File

@@ -89,7 +89,6 @@ class IntroController extends Controller
/**
* Enable the boxes for a specific page again.
*
* @throws FireflyException
*/
public function postEnable(string $route, ?string $specialPage = null): JsonResponse
{
@@ -109,7 +108,6 @@ class IntroController extends Controller
/**
* Set that you saw them.
*
* @throws FireflyException
*/
public function postFinished(string $route, ?string $specialPage = null): JsonResponse
{