Skip to content

Commit 8fd2dca

Browse files
committed
otel version compatibility
1 parent c042420 commit 8fd2dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DDTrace/OpenTelemetry/Span.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public function getKind(): int
274274
/**
275275
* @inheritDoc
276276
*/
277-
public function getAttribute(string $key)
277+
public function getAttribute(string $key): mixed
278278
{
279279
return $this->span->meta[$key] ?? ($this->span->metrics[$key] ?? null);
280280
}

0 commit comments

Comments
 (0)