From d11047257892cf56f1a74fb8f6b44f4af6aacbfa Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Fri, 17 Mar 2023 19:14:51 +0000 Subject: [PATCH] Amended reporters to no longer throw non-scalar value within symfony6 --- Controller/HealthCheckController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/HealthCheckController.php b/Controller/HealthCheckController.php index 9a7cbe03..4fb3c07a 100644 --- a/Controller/HealthCheckController.php +++ b/Controller/HealthCheckController.php @@ -139,7 +139,7 @@ public function runSingleCheckAction($checkId, Request $request): JsonResponse */ protected function runTests(Request $request, $checkId = null): ArrayReporter { - $reporters = $request->query->get('reporters') ?? []; + $reporters = $request->query->all('reporters') ?? []; if (!is_array($reporters)) { $reporters = [$reporters];