summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwn_ <[email protected]>2023-12-23 19:58:39 +0000
committerwn_ <[email protected]>2023-12-23 19:58:39 +0000
commit9a1f7c2ebfe4470440097c403cec2da011f22d02 (patch)
tree417b992ceebe65bee329115859b45a01a12f10d7
parent3c171cc92c2c62167b338b9eb79bb1ff973fd356 (diff)
Appease PHPStan in UrlHelperTest
-rw-r--r--tests/UrlHelperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UrlHelperTest.php b/tests/UrlHelperTest.php
index 2170ed50b..30a0201c1 100644
--- a/tests/UrlHelperTest.php
+++ b/tests/UrlHelperTest.php
@@ -80,7 +80,7 @@ final class UrlHelperTest extends TestCase {
$this->assertFalse($result);
}
- $mock->append(new Response(200, ['Content-Length' => PHP_INT_MAX]));
+ $mock->append(new Response(200, ['Content-Length' => (string) PHP_INT_MAX]));
$result = UrlHelper::fetch('https://www.example.com/very-large-content-length');
$this->assertFalse($result);