Completed
Push — master ( 16bfe9...e880dd )
by Philip
02:39 queued 38s
created
src/PHPProm/Storage/AbstractStorage.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -19,6 +19,13 @@  discard block
 block discarded – undo
19 19
         $this->availableMetrics = [];
20 20
     }
21 21
 
22
+    /**
23
+     * @param string $storagePrefix
24
+     * @param string $metric
25
+     * @param string $label
26
+     * @param string $help
27
+     * @param string $type
28
+     */
22 29
     public function addAvailableMetric($storagePrefix, $metric, $label, $help, $type, $defaultValue) {
23 30
         $this->availableMetrics[] = [
24 31
             'storagePrefix' => $storagePrefix,
@@ -36,6 +43,9 @@  discard block
 block discarded – undo
36 43
 
37 44
     abstract public function storeMeasurement($prefix, $key, $value);
38 45
 
46
+    /**
47
+     * @param string $prefix
48
+     */
39 49
     abstract public function incrementMeasurement($prefix, $key);
40 50
 
41 51
     abstract public function getMeasurements($prefix, array $keys, $defaultValue = 'Nan');
Please login to merge, or discard this patch.