Skip to content

Commit cda3a15

Browse files
keradusnicolas-grekas
authored andcommitted
chore: CS fixes
1 parent f53dab3 commit cda3a15

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Response/NativeResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ final class NativeResponse implements ResponseInterface, StreamableInterface
4242

4343
/**
4444
* @internal
45+
*
4546
* @param $context resource
4647
*/
4748
public function __construct(

Tests/CachingHttpClientTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ public function testRemovesXContentDigest()
8787
{
8888
$response = $this->runRequest(new MockResponse(
8989
'test', [
90-
'response_headers' => [
91-
'X-Content-Digest' => 'some-hash',
92-
],
93-
]));
90+
'response_headers' => [
91+
'X-Content-Digest' => 'some-hash',
92+
],
93+
]));
9494
$headers = $response->getHeaders();
9595

9696
$this->assertArrayNotHasKey('x-content-digest', $headers);

Tests/MockHttpClientTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ protected function getHttpClient(string $testCase): HttpClientInterface
313313
$responses = [];
314314

315315
$headers = [
316-
'Host: localhost:8057',
317-
'Content-Type: application/json',
316+
'Host: localhost:8057',
317+
'Content-Type: application/json',
318318
];
319319

320320
$body = '{
@@ -387,9 +387,9 @@ protected function getHttpClient(string $testCase): HttpClientInterface
387387
$responses[] = new MockResponse($body, ['response_headers' => $headers]);
388388

389389
$headers = [
390-
'Host: localhost:8057',
391-
'Content-Length: 1000',
392-
'Content-Type: application/json',
390+
'Host: localhost:8057',
391+
'Content-Length: 1000',
392+
'Content-Type: application/json',
393393
];
394394

395395
$responses[] = new MockResponse($body, ['response_headers' => $headers]);

Tests/RetryableHttpClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ public function testRetryOnErrorAssertContent()
239239
{
240240
$client = new RetryableHttpClient(
241241
new MockHttpClient([
242-
new MockResponse('', ['http_code' => 500]),
243-
new MockResponse('Test out content', ['http_code' => 200]),
242+
new MockResponse('', ['http_code' => 500]),
243+
new MockResponse('Test out content', ['http_code' => 200]),
244244
]),
245245
new GenericRetryStrategy([500], 0),
246246
1

0 commit comments

Comments
 (0)