Completed
Push — master ( 8eb52f...926392 )
by Kevin
02:09
created
src/Metric.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -9,6 +9,10 @@  discard block
 block discarded – undo
9 9
 {
10 10
     static $metrics_db = null;
11 11
 
12
+    /**
13
+     * @param string $typ
14
+     * @param string $help
15
+     */
12 16
     public function __construct($typ, $var, $help, $labels, $label_values)
13 17
     {
14 18
         if (!preg_match('/^[a-zA-Z_:][a-zA-Z0-9_:]*$/', $var))
@@ -30,6 +34,9 @@  discard block
 block discarded – undo
30 34
         $sth->execute(array($this->var, $this->typ, $this->help));
31 35
     }
32 36
 
37
+    /**
38
+     * @param integer $var_value
39
+     */
33 40
     protected function _metric_inc($var_value)
34 41
     {
35 42
         $sth = self::$metrics_db->
Please login to merge, or discard this patch.
src/LabelWrapper.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -4,6 +4,10 @@
 block discarded – undo
4 4
 
5 5
 class _LabelWrapper
6 6
 {
7
+    /**
8
+     * @param string $metric_class
9
+     * @param string $help
10
+     */
7 11
     public function __construct($metric_class, $var, $help, $labels)
8 12
     {
9 13
         if (!preg_match('/^[a-zA-Z_:][a-zA-Z0-9_:]*$/', $var))
Please login to merge, or discard this patch.