Skip to content

Commit 031007d

Browse files
committed
Fixup missing :mixed in Otel Span
1 parent 9f547c2 commit 031007d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)