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.
1 parent 939d3a2 commit 90c870bCopy full SHA for 90c870b
Common/Export/Http/PsrTransportFactory.php
@@ -10,6 +10,7 @@
10
use Http\Discovery\Psr18ClientDiscovery;
11
use InvalidArgumentException;
12
use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
13
+use OpenTelemetry\SDK\Common\Export\TransportInterface;
14
use OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery;
15
use Psr\Http\Client\ClientInterface;
16
use Psr\Http\Message\RequestFactoryInterface;
@@ -38,7 +39,7 @@ public function create(
38
39
?string $cacert = null,
40
?string $cert = null,
41
?string $key = null,
- ): PsrTransport {
42
+ ): TransportInterface {
43
if (!filter_var($endpoint, FILTER_VALIDATE_URL)) {
44
throw new InvalidArgumentException(sprintf('Invalid endpoint url "%s"', $endpoint));
45
}
0 commit comments