@@ -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 @@ discard block |
||
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) { |
@@ -69,6 +72,9 @@ discard block |
||
69 | 72 | unset($this->representations[$name]); |
70 | 73 | } |
71 | 74 | |
75 | + /** |
|
76 | + * @param string $name |
|
77 | + */ |
|
72 | 78 | public function getRepresentation($name) |
73 | 79 | { |
74 | 80 | if (isset($this->representations[$name])) { |
@@ -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) |
@@ -9,6 +9,10 @@ |
||
9 | 9 | public $startline; |
10 | 10 | public $hints = array('object'); |
11 | 11 | |
12 | + /** |
|
13 | + * @param string $a |
|
14 | + * @param string $b |
|
15 | + */ |
|
12 | 16 | public static function sortByHierarchy($a, $b) |
13 | 17 | { |
14 | 18 | if (is_string($a) && is_string($b)) { |
@@ -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) { |
@@ -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')) { |
@@ -166,6 +166,9 @@ |
||
166 | 166 | } |
167 | 167 | } |
168 | 168 | |
169 | + /** |
|
170 | + * @param string $prop |
|
171 | + */ |
|
169 | 172 | protected function parseProperty(Kint_Object $o, $prop, &$var) |
170 | 173 | { |
171 | 174 | // Duplicating (And slightly optimizing) the Kint_Parser::parseObject() code here |
@@ -52,6 +52,10 @@ |
||
52 | 52 | $o->addRepresentation($r, 0); |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param string $var |
|
57 | + * @param string $parent_path |
|
58 | + */ |
|
55 | 59 | protected static function xmlToSimpleXML($var, $parent_path) |
56 | 60 | { |
57 | 61 | try { |