Skip to content

Commit 8b3ca1f

Browse files
authored
fixes #1600 (#1603)
1 parent 2516394 commit 8b3ca1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OtlpHttpTransportFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace OpenTelemetry\Contrib\Otlp;
66

7-
use OpenTelemetry\SDK\Common\Export\Http\PsrTransport;
87
use OpenTelemetry\SDK\Common\Export\Http\PsrTransportFactory;
98
use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
9+
use OpenTelemetry\SDK\Common\Export\TransportInterface;
1010

1111
class OtlpHttpTransportFactory implements TransportFactoryInterface
1212
{
@@ -23,7 +23,7 @@ public function create(
2323
?string $cacert = null,
2424
?string $cert = null,
2525
?string $key = null,
26-
): PsrTransport {
26+
): TransportInterface {
2727
if ($compression === self::DEFAULT_COMPRESSION) {
2828
$compression = null;
2929
}

0 commit comments

Comments
 (0)