Skip to content
This repository was archived by the owner on Oct 22, 2019. It is now read-only.

Commit 1994962

Browse files
author
Marko Kruljac
committed
minor style correction
1 parent 860cade commit 1994962

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Prometheus/Storage/InMemory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
use Prometheus\MetricFamilySamples;
7-
use Prometheus\Sample;
87

98
class InMemory implements Adapter
109
{
@@ -63,7 +62,7 @@ private function collectHistograms()
6362
$acc = 0;
6463
$decodedLabelValues = json_decode($labelValues);
6564
foreach ($data['buckets'] as $bucket) {
66-
$bucket = (string) $bucket;
65+
$bucket = (string)$bucket;
6766
if (!isset($histogramBuckets[$labelValues][$bucket])) {
6867
$data['samples'][] = [
6968
'name' => $metaData['name'] . '_bucket',

0 commit comments

Comments
 (0)