8000 [HttpClient] Added missing sprintf · symfony/symfony@08c1481 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08c1481

Browse files
authored
[HttpClient] Added missing sprintf
It was supposed to be there.
1 parent 47a866b commit 08c1481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpClient/Response/ResponseTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public static function stream(iterable $responses, float $timeout = null): \Gene
323323
}
324324

325325
if ('' !== $chunk && null !== $response->content && \strlen($chunk) !== fwrite($response->content, $chunk)) {
326-
$multi->handlesActivity[$j] = [null, new TransportException('Failed writing %d bytes to the response buffer.', \strlen($chunk))];
326+
$multi->handlesActivity[$j] = [null, new TransportException(sprintf('Failed writing %d bytes to the response buffer.', \strlen($chunk)))];
327327
continue;
328328
}
329329

0 commit comments

Comments
 (0)
0