We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77125f1 commit f86b2abCopy full SHA for f86b2ab
1 file changed
src/Codec/TextCodec.php
@@ -16,12 +16,14 @@ public function decode($data): ?SpanContext
16
if (4 !== \count($elements)) {
17
return null;
18
}
19
+ [$traceIdHigh, $traceIdLow] = $this->convertInt128($elements[0]);
20
21
return new SpanContext(
- ...$this->convertInt128($elements[0]),
22
- $this->convertInt64($elements[1]),
23
- $this->convertInt64($elements[2]),
24
- $this->convertInt64($elements[3])
+ $traceIdHigh,
+ $traceIdLow,
+ $this->convertInt64($elements[1]),
25
+ $this->convertInt64($elements[2]),
26
+ $this->convertInt64($elements[3])
27
);
28
29
0 commit comments