From 884fd92f1320d17daebb772297da03fb2cfa59b8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Oct 2024 16:00:34 +0300 Subject: drop opentelemetry --- vendor/php-http/discovery/src/Psr18Client.php | 45 --------------------------- 1 file changed, 45 deletions(-) delete mode 100644 vendor/php-http/discovery/src/Psr18Client.php (limited to 'vendor/php-http/discovery/src/Psr18Client.php') diff --git a/vendor/php-http/discovery/src/Psr18Client.php b/vendor/php-http/discovery/src/Psr18Client.php deleted file mode 100644 index c47780ec6..000000000 --- a/vendor/php-http/discovery/src/Psr18Client.php +++ /dev/null @@ -1,45 +0,0 @@ - - */ -class Psr18Client extends Psr17Factory implements ClientInterface -{ - private $client; - - public function __construct( - ClientInterface $client = null, - RequestFactoryInterface $requestFactory = null, - ResponseFactoryInterface $responseFactory = null, - ServerRequestFactoryInterface $serverRequestFactory = null, - StreamFactoryInterface $streamFactory = null, - UploadedFileFactoryInterface $uploadedFileFactory = null, - UriFactoryInterface $uriFactory = null - ) { - parent::__construct($requestFactory, $responseFactory, $serverRequestFactory, $streamFactory, $uploadedFileFactory, $uriFactory); - - $this->client = $client ?? Psr18ClientDiscovery::find(); - } - - public function sendRequest(RequestInterface $request): ResponseInterface - { - return $this->client->sendRequest($request); - } -} -- cgit v1.2.3-54-g00ecf