@@ -487,6 +487,7 @@ |
||
487 | 487 | * call (modifiers). |
488 | 488 | * |
489 | 489 | * @param array $trace |
490 | + * @param integer $num_params |
|
490 | 491 | * |
491 | 492 | * @return array($params, $modifiers, $callee, $caller, $miniTrace) |
492 | 493 | */ |
@@ -54,6 +54,9 @@ |
||
54 | 54 | return true; |
55 | 55 | } |
56 | 56 | |
57 | + /** |
|
58 | + * @param integer $pos |
|
59 | + */ |
|
57 | 60 | public function replaceRepresentation(Kint_Object_Representation $rep, $pos = null) |
58 | 61 | { |
59 | 62 | if ($pos === null) { |
@@ -79,6 +79,9 @@ |
||
79 | 79 | return strlen($string); |
80 | 80 | } |
81 | 81 | |
82 | + /** |
|
83 | + * @param integer $start |
|
84 | + */ |
|
82 | 85 | public static function substr($string, $start, $length = null, $encoding = false) |
83 | 86 | { |
84 | 87 | if (extension_loaded('mbstring')) { |
@@ -156,6 +156,9 @@ discard block |
||
156 | 156 | public $hints = array('color'); |
157 | 157 | public $color = null; |
158 | 158 | |
159 | + /** |
|
160 | + * @param Kint_Object_Representation_Color $color |
|
161 | + */ |
|
159 | 162 | public function __construct($color) |
160 | 163 | { |
161 | 164 | $this->color = $color; |
@@ -195,6 +198,9 @@ discard block |
||
195 | 198 | /** |
196 | 199 | * Helper function for hslToRgb. Even blacker magic. |
197 | 200 | * |
201 | + * @param double $m1 |
|
202 | + * @param double $m2 |
|
203 | + * @param double $hue |
|
198 | 204 | * @return float Color value |
199 | 205 | */ |
200 | 206 | private static function hueToRgb($m1, $m2, $hue) |
@@ -8,6 +8,10 @@ |
||
8 | 8 | public $hints = array(); |
9 | 9 | public $contents = array(); |
10 | 10 | |
11 | + /** |
|
12 | + * @param string $label |
|
13 | + * @param string $name |
|
14 | + */ |
|
11 | 15 | public function __construct($label, $name = null) |
12 | 16 | { |
13 | 17 | $this->label = $label; |
@@ -70,6 +70,9 @@ |
||
70 | 70 | $this->setValues($value); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param integer $variant |
|
75 | + */ |
|
73 | 76 | public function hasAlpha($variant = null) |
74 | 77 | { |
75 | 78 | if ($variant === null) { |
@@ -13,6 +13,11 @@ |
||
13 | 13 | public $mem_peak_real = null; |
14 | 14 | public $hints = array('microtime'); |
15 | 15 | |
16 | + /** |
|
17 | + * @param integer $group |
|
18 | + * @param double $lap |
|
19 | + * @param double $total |
|
20 | + */ |
|
16 | 21 | public function __construct($group, $lap = null, $total = null, $i = 0) |
17 | 22 | { |
18 | 23 | parent::__construct('Microtime'); |
@@ -5,6 +5,9 @@ |
||
5 | 5 | public $message; |
6 | 6 | public $hints = array('object', 'throwable'); |
7 | 7 | |
8 | + /** |
|
9 | + * @param Throwable $throw |
|
10 | + */ |
|
8 | 11 | public function __construct($throw) |
9 | 12 | { |
10 | 13 | if (!$throw instanceof Exception && (!KINT_PHP70 || !$throw instanceof Throwable)) { |
@@ -45,6 +45,9 @@ |
||
45 | 45 | } |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param Kint_Object $o |
|
50 | + */ |
|
48 | 51 | protected function blacklist(&$var, &$o) |
49 | 52 | { |
50 | 53 | if (function_exists('spl_object_hash')) { |