We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb92fdc commit cede402Copy full SHA for cede402
1 file changed
src/Log/AbstractLog.php
@@ -7,7 +7,7 @@ abstract class AbstractLog extends \Jaeger\Thrift\Log
7
{
8
public function __construct(array $tags = [], int $timestamp = 0)
9
10
- $this->timestamp = $timestamp ?? (int)round(microtime(true) * 1000000);
+ $this->timestamp = 0 !== $timestamp ? $timestamp : (int)round(microtime(true) * 1000000);
11
$this->fields = $tags;
12
parent::__construct();
13
}
0 commit comments