Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down
Loading