Skip to content

Commit

Permalink
minor style correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Kruljac committed Mar 15, 2017
1 parent 860cade commit 1994962
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Prometheus/Storage/InMemory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


use Prometheus\MetricFamilySamples;
use Prometheus\Sample;

class InMemory implements Adapter
{
Expand Down Expand Up @@ -63,7 +62,7 @@ private function collectHistograms()
$acc = 0;
$decodedLabelValues = json_decode($labelValues);
foreach ($data['buckets'] as $bucket) {
$bucket = (string) $bucket;
$bucket = (string)$bucket;
if (!isset($histogramBuckets[$labelValues][$bucket])) {
$data['samples'][] = [
'name' => $metaData['name'] . '_bucket',
Expand Down

0 comments on commit 1994962

Please sign in to comment.