8000 minor #35250 [HttpClient] Added missing sprintf (TiGR) · symfony/symfony@1e4e0ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e4e0ec

Browse files
minor #35250 [HttpClient] Added missing sprintf (TiGR)
This PR was merged into the 4.3 branch. Discussion ---------- [HttpClient] Added missing sprintf It was supposed to be there. | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 08c1481 [HttpClient] Added missing sprintf
2 parents 47a866b + 08c1481 commit 1e4e0ec

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