Skip to content

Commit 82efe1e

Browse files
authored
Fixed CSFixer and PhpStan
1 parent 0908d19 commit 82efe1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Controller/ReportControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ private static function getContents(string $url): string
3838
$hCurl = curl_init();
3939

4040
curl_setopt($hCurl, CURLOPT_URL, $url);
41-
curl_setopt($hCurl, CURLOPT_RETURNTRANSFER, 1);
41+
curl_setopt($hCurl, CURLOPT_RETURNTRANSFER, true);
4242
curl_setopt($hCurl, CURLOPT_TIMEOUT, 120);
4343
curl_setopt($hCurl, CURLOPT_CONNECTTIMEOUT, 120);
4444

4545
$result = curl_exec($hCurl);
4646

4747
curl_close($hCurl);
48-
48+
4949
return $result;
5050
}
5151

0 commit comments

Comments
 (0)