Skip to content

Commit

Permalink
Merge pull request #279 from Wordlesschunk/symfony6-bugfix
Browse files Browse the repository at this point in the history
Amended reporters to no longer throw non-scalar value within symfony6
  • Loading branch information
kbond authored Mar 17, 2023
2 parents 1142f26 + d110472 commit 8dce49c
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 8dce49c

Please sign in to comment.