From 9a1f7c2ebfe4470440097c403cec2da011f22d02 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 23 Dec 2023 19:58:39 +0000 Subject: [PATCH] Appease PHPStan in UrlHelperTest --- tests/UrlHelperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);