chore: fixed indentation

This commit is contained in:
德华 刘 2023-11-15 17:20:50 +00:00
parent c2e5849c49
commit 7efecbca8b

View file

@ -432,13 +432,13 @@ class TimeSeries extends Calculator
$document = $database->getDocument('stats', $id);
if ($document->isEmpty()) {
$database->createDocument('stats', new Document([
'$id' => $id,
'period' => $period,
'time' => $time,
'metric' => $metric,
'value' => $value,
'type' => $type,
'region' => $this->region,
'$id' => $id,
'period' => $period,
'time' => $time,
'metric' => $metric,
'value' => $value,
'type' => $type,
'region' => $this->region,
]));
} else {
$database->updateDocument(