Skip to content

Commit

Permalink
Merge pull request #238 from joaojacome/master
Browse files Browse the repository at this point in the history
Fixed deprecations for Symfony 5.1
  • Loading branch information
kbond committed Jul 2, 2020
2 parents 3b564d1 + ea1a334 commit 3d29594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/HealthCheckController.php
Expand Up @@ -163,7 +163,7 @@ public function runSingleCheckAction($checkId, Request $request)
*/
protected function runTests(Request $request, $checkId = null)
{
$reporters = $request->query->get('reporters', []);
$reporters = $request->query->get('reporters') ?? [];

if (!is_array($reporters)) {
$reporters = [$reporters];
Expand Down

0 comments on commit 3d29594

Please sign in to comment.