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 2516394 commit 8b3ca1fCopy full SHA for 8b3ca1f
OtlpHttpTransportFactory.php
@@ -4,9 +4,9 @@
4
5
namespace OpenTelemetry\Contrib\Otlp;
6
7
-use OpenTelemetry\SDK\Common\Export\Http\PsrTransport;
8
use OpenTelemetry\SDK\Common\Export\Http\PsrTransportFactory;
9
use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
+use OpenTelemetry\SDK\Common\Export\TransportInterface;
10
11
class OtlpHttpTransportFactory implements TransportFactoryInterface
12
{
@@ -23,7 +23,7 @@ public function create(
23
?string $cacert = null,
24
?string $cert = null,
25
?string $key = null,
26
- ): PsrTransport {
+ ): TransportInterface {
27
if ($compression === self::DEFAULT_COMPRESSION) {
28
$compression = null;
29
}
0 commit comments