Appease PHPStan in UrlHelperTest

This commit is contained in:
wn_ 2023-12-23 19:58:39 +00:00
parent 3c171cc92c
commit 9a1f7c2ebf
1 changed files with 1 additions and 1 deletions

View File

@ -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);