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

Commit 860cade

Browse files
author
Marko Kruljac
committed
removed dead code
1 parent c2ba327 commit 860cade

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/Prometheus/Storage/InMemory.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,6 @@ private function internalCollect(array $metrics)
131131
return $result;
132132
}
133133

134-
/**
135-
* @return Sample[]
136-
*/
137-
public function fetchSamples()
138-
{
139-
return array_map(
140-
function ($data) { return new Sample($data); },
141-
array_values(array_reduce(array_values($this->samples), 'array_merge', []))
142-
);
143-
}
144-
145134
public function updateHistogram(array $data)
146135
{
147136
// Initialize the sum

0 commit comments

Comments
 (0)