We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e91ce8 commit bf1873eCopy full SHA for bf1873e
1 file changed
src/Span/Span.php
@@ -68,8 +68,9 @@ public function start(int $startTimeUsec): SpanInterface
68
public function finish(int $durationUsec = 0): SpanInterface
69
{
70
$this->duration = $durationUsec ?: (microtime(true) * 1000000) - $this->startTime;
71
+ $this->tracer->finish($this, -1);
72
- return $this->tracer->finish($this, -1);
73
+ return $this;
74
}
75
76
public function addTag(Tag $tag): SpanInterface
0 commit comments