diff --git a/src/Symfony/Component/HttpClient/NoPrivateNetworkHttpClient.php b/src/Symfony/Component/HttpClient/NoPrivateNetworkHttpClient.php index 3b930ad3ad051..77d7bdf60f7bb 100644 --- a/src/Symfony/Component/HttpClient/NoPrivateNetworkHttpClient.php +++ b/src/Symfony/Component/HttpClient/NoPrivateNetworkHttpClient.php @@ -78,11 +78,11 @@ public function stream(ResponseInterface|iterable $responses, ?float $timeout = } /** - * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead + * @deprecated since Symfony 7.1, configure the logger on the wrapped HTTP client directly instead */ public function setLogger(LoggerInterface $logger): void { - trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); + trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapped HTTP client directly instead.'); if ($this->client instanceof LoggerAwareInterface) { $this->client->setLogger($logger); diff --git a/src/Symfony/Component/HttpClient/ScopingHttpClient.php b/src/Symfony/Component/HttpClient/ScopingHttpClient.php index 0086b2d1eb6d5..948d40a15fd1f 100644 --- a/src/Symfony/Component/HttpClient/ScopingHttpClient.php +++ b/src/Symfony/Component/HttpClient/ScopingHttpClient.php @@ -101,11 +101,11 @@ public function reset(): void } /** - * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead + * @deprecated since Symfony 7.1, configure the logger on the wrapped HTTP client directly instead */ public function setLogger(LoggerInterface $logger): void { - trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); + trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapped HTTP client directly instead.'); if ($this->client instanceof LoggerAwareInterface) { $this->client->setLogger($logger); diff --git a/src/Symfony/Component/HttpClient/TraceableHttpClient.php b/src/Symfony/Component/HttpClient/TraceableHttpClient.php index b6d30dab7ea81..4168c3c414de5 100644 --- a/src/Symfony/Component/HttpClient/TraceableHttpClient.php +++ b/src/Symfony/Component/HttpClient/TraceableHttpClient.php @@ -90,11 +90,11 @@ public function reset(): void } /** - * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead + * @deprecated since Symfony 7.1, configure the logger on the wrapped HTTP client directly instead */ public function setLogger(LoggerInterface $logger): void { - trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); + trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapped HTTP client directly instead.'); if ($this->client instanceof LoggerAwareInterface) { $this->client->setLogger($logger);