Skip to content

Commit 23591dc

Browse files
Merge branch '5.3' into 5.4
* 5.3: Remove more dynamic properties [Serializer] fix support for unset properties on PHP < 7.4
2 parents 0154236 + 7c5c562 commit 23591dc

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
@@ -73,7 +73,7 @@ public function request(string $method, string $url, array $options = []): Respo
7373
if ('' !== $context->getInfo('primary_ip')) {
7474
$shouldRetry = $this->strategy->shouldRetry($context, null, $exception);
7575
if (null === $shouldRetry) {
76-
throw new \LogicException(sprintf('The "%s::shouldRetry()" method must not return null when called with an exception.', \get_class($this->decider)));
76+
throw new \LogicException(sprintf('The "%s::shouldRetry()" method must not return null when called with an exception.', \get_class($this->strategy)));
7777
}
7878

7979
if (false === $shouldRetry) {

0 commit comments

Comments
 (0)