We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f59d699 + 61c6bcf commit a286136Copy full SHA for a286136
tests/Unit/ClientTest.php
@@ -40,12 +40,7 @@ public function testExceptionThrownOnInvalidCurlOptions(): void
40
public function testExpectHeaderIsEmpty(): void
41
{
42
$client = $this->createMock(Client::class);
43
-
44
$createHeaders = new \ReflectionMethod(Client::class, 'createHeaders');
45
- if (PHP_VERSION_ID < 80100) {
46
- $createHeaders->setAccessible(true);
47
- }
48
49
$request = new Request();
50
51
$headers = $createHeaders->invoke($client, $request, []);
0 commit comments