Appease PHPStan in UrlHelperTest
This commit is contained in:
parent
3c171cc92c
commit
9a1f7c2ebf
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue