Skip to content

Commit

Permalink
Amended reporters to no longer throw non-scalar value within symfony6
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Jennings committed Mar 17, 2023
1 parent 1142f26 commit d110472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/HealthCheckController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d110472

Please sign in to comment.