@@ -131,6 +131,9 @@ discard block |
||
131 | 131 | return '<dl>'.$header.$children.'</dl>'; |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param boolean $has_children |
|
136 | + */ |
|
134 | 137 | public function renderHeaderWrapper(Kint_Object $o, $has_children, $contents) |
135 | 138 | { |
136 | 139 | $out = '<dt'; |
@@ -257,6 +260,9 @@ discard block |
||
257 | 260 | return $output.'</dd>'; |
258 | 261 | } |
259 | 262 | |
263 | + /** |
|
264 | + * @return string |
|
265 | + */ |
|
260 | 266 | protected function renderTab(Kint_Object $o, Kint_Object_Representation $rep) |
261 | 267 | { |
262 | 268 | if ($plugin = $this->getPlugin(self::$tab_renderers, $rep->hints)) { |
@@ -14,6 +14,7 @@ |
||
14 | 14 | * |
15 | 15 | * This is a placeholder until Kint 3 when it can be renamed to |
16 | 16 | * renderLockedHeader after the deprecated static method is removed |
17 | + * @param string $content |
|
17 | 18 | */ |
18 | 19 | public function renderHeaderLocked(Kint_Object $o, $content) |
19 | 20 | { |
@@ -94,6 +94,9 @@ |
||
94 | 94 | return $out; |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param integer $width |
|
99 | + */ |
|
97 | 100 | public function boxText($text, $width) |
98 | 101 | { |
99 | 102 | if (Kint_Object_Blob::strlen($text) > $width - 4) { |
@@ -329,6 +329,9 @@ |
||
329 | 329 | return $function_calls; |
330 | 330 | } |
331 | 331 | |
332 | + /** |
|
333 | + * @param integer $direction |
|
334 | + */ |
|
332 | 335 | private static function realTokenIndex(array $tokens, $index, $direction) |
333 | 336 | { |
334 | 337 | $index += $direction; |