Skip to content

Commit 841c79f

Browse files
committed
Added int cast
1 parent a9af070 commit 841c79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/GlobalSpanHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function flush(): void
6161
if (null === $this->span || null === $this->durationUsec) {
6262
return;
6363
}
64-
$this->span->finish($this->durationUsec);
64+
$this->span->finish((int)$this->durationUsec);
6565
$this->span = $this->durationUsec = null;
6666
}
6767
}

0 commit comments

Comments
 (0)