Skip to content

Commit 7c5c562

Browse files
Remove more dynamic properties
1 parent cf34137 commit 7c5c562

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Internal/AmpBody.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
class AmpBody implements RequestBody, InputStream
2727
{
2828
private $body;
29+
private $info;
2930
private $onProgress;
3031
private $offset = 0;
3132
private $length = -1;

RetryableHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function request(string $method, string $url, array $options = []): Respo
7272
if ('' !== $context->getInfo('primary_ip')) {
7373
$shouldRetry = $this->strategy->shouldRetry($context, null, $exception);
7474
if (null === $shouldRetry) {
75-
throw new \LogicException(sprintf('The "%s::shouldRetry()" method must not return null when called with an exception.', \get_class($this->decider)));
75+
throw new \LogicException(sprintf('The "%s::shouldRetry()" method must not return null when called with an exception.', \get_class($this->strategy)));
7676
}
7777

7878
if (false === $shouldRetry) {

0 commit comments

Comments
 (0)