diff --git a/src/Client/Client.php b/src/Client/Client.php index c296969..f563e08 100644 --- a/src/Client/Client.php +++ b/src/Client/Client.php @@ -9,7 +9,6 @@ use Http\Discovery\Psr18ClientDiscovery; use Psr\Http\Client\ClientInterface as HttpClientInterface; use Psr\Http\Message\RequestFactoryInterface; -use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; use Psr\Log\LoggerAwareInterface; use Psr\Log\LoggerInterface; @@ -99,13 +98,6 @@ public function setRequestFactory(RequestFactoryInterface $requestFactory): void $this->requestFactory = $requestFactory; } - /** - * @deprecated the client does not create responses, so the response factory is not used; this method is kept for backwards compatibility only - */ - public function setResponseFactory(ResponseFactoryInterface $responseFactory): void - { - } - private function getStreamFactory(): StreamFactoryInterface { if (null === $this->streamFactory) {