Skip to content

Commit 488f4c2

Browse files
Merge branch '4.3' into 4.4
* 4.3: Minor fixes [HttpClient] Minor fixes Use namespaced Phpunit classes [Messenger] Fixed ConsumeMessagesCommand configuration [Form] remove leftover int child phpdoc Support DateTimeInterface in IntlDateFormatter::format [PhpUnitBridge] fixed PHPUnit 8.3 compatibility: method handleError was renamed to __invoke fixed phpdocs Use PHPunit assertion [Intl] Order alpha2 to alpha3 mapping + phpdoc fixes
2 parents 7da95c9 + 80092f9 commit 488f4c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Response/MockResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class MockResponse implements ResponseInterface
3737

3838
/**
3939
* @param string|string[]|iterable $body The response body as a string or an iterable of strings,
40-
* yielding an empty string simulates a timeout,
40+
* yielding an empty string simulates an idle timeout,
4141
* exceptions are turned to TransportException
4242
*
4343
* @see ResponseInterface::getInfo() for possible info, e.g. "response_headers"
@@ -277,7 +277,7 @@ private static function readResponse(self $response, array $options, ResponseInt
277277
if (!\is_string($body)) {
278278
foreach ($body as $chunk) {
279279
if ('' === $chunk = (string) $chunk) {
280-
// simulate a timeout
280+
// simulate an idle timeout
281281
$response->body[] = new ErrorChunk($offset);
282282
} else {
283283
$response->body[] = $chunk;

0 commit comments

Comments
 (0)