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); $document = $database->getDocument('stats', $id);
if ($document->isEmpty()) { if ($document->isEmpty()) {
$database->createDocument('stats', new Document([ $database->createDocument('stats', new Document([
'$id' => $id, '$id' => $id,
'period' => $period, 'period' => $period,
'time' => $time, 'time' => $time,
'metric' => $metric, 'metric' => $metric,
'value' => $value, 'value' => $value,
'type' => $type, 'type' => $type,
'region' => $this->region, 'region' => $this->region,
])); ]));
} else { } else {
$database->updateDocument( $database->updateDocument(