diff options
author | wn_ <[email protected]> | 2023-12-23 19:58:39 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2023-12-23 19:58:39 +0000 |
commit | 9a1f7c2ebfe4470440097c403cec2da011f22d02 (patch) | |
tree | 417b992ceebe65bee329115859b45a01a12f10d7 /tests/UrlHelperTest.php | |
parent | 3c171cc92c2c62167b338b9eb79bb1ff973fd356 (diff) |
Appease PHPStan in UrlHelperTest
Diffstat (limited to 'tests/UrlHelperTest.php')
-rw-r--r-- | tests/UrlHelperTest.php | 2 |
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); |