We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf21bef + cdaf3df commit a408c48Copy full SHA for a408c48
RetryableHttpClient.php
@@ -43,7 +43,7 @@ public function __construct(HttpClientInterface $client, RetryStrategyInterface
43
$this->client = $client;
44
$this->strategy = $strategy ?? new GenericRetryStrategy();
45
$this->maxRetries = $maxRetries;
46
- $this->logger = $logger ?: new NullLogger();
+ $this->logger = $logger ?? new NullLogger();
47
}
48
49
public function request(string $method, string $url, array $options = []): ResponseInterface
0 commit comments