We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0908d19 commit 82efe1eCopy full SHA for 82efe1e
tests/Controller/ReportControllerTest.php
@@ -38,14 +38,14 @@ private static function getContents(string $url): string
38
$hCurl = curl_init();
39
40
curl_setopt($hCurl, CURLOPT_URL, $url);
41
- curl_setopt($hCurl, CURLOPT_RETURNTRANSFER, 1);
+ curl_setopt($hCurl, CURLOPT_RETURNTRANSFER, true);
42
curl_setopt($hCurl, CURLOPT_TIMEOUT, 120);
43
curl_setopt($hCurl, CURLOPT_CONNECTTIMEOUT, 120);
44
45
$result = curl_exec($hCurl);
46
47
curl_close($hCurl);
48
-
+
49
return $result;
50
}
51
0 commit comments