Skip to content

Commit cede402

Browse files
committed
Code style fixes
1 parent cb92fdc commit cede402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Log/AbstractLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ abstract class AbstractLog extends \Jaeger\Thrift\Log
77
{
88
public function __construct(array $tags = [], int $timestamp = 0)
99
{
10-
$this->timestamp = $timestamp ?? (int)round(microtime(true) * 1000000);
10+
$this->timestamp = 0 !== $timestamp ? $timestamp : (int)round(microtime(true) * 1000000);
1111
$this->fields = $tags;
1212
parent::__construct();
1313
}

0 commit comments

Comments
 (0)