@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | * Dumps an array as separate values, and uses $names to seed the parser. |
224 | 224 | * |
225 | 225 | * @param array $data Data to be dumped |
226 | - * @param BasicObject[]|null $names Array of BasicObject to seed the parser with |
|
226 | + * @param BasicObject[] $names Array of BasicObject to seed the parser with |
|
227 | 227 | */ |
228 | 228 | public static function dumpArray(array $data, array $names = null) |
229 | 229 | { |
@@ -484,6 +484,7 @@ discard block |
||
484 | 484 | * call (modifiers). |
485 | 485 | * |
486 | 486 | * @param array $trace |
487 | + * @param integer $num_params |
|
487 | 488 | * |
488 | 489 | * @return array($params, $modifiers, $callee, $caller, $miniTrace) |
489 | 490 | */ |
@@ -81,6 +81,9 @@ |
||
81 | 81 | return strlen($string); |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param integer $start |
|
86 | + */ |
|
84 | 87 | public static function substr($string, $start, $length = null, $encoding = false) |
85 | 88 | { |
86 | 89 | if (extension_loaded('mbstring')) { |
@@ -85,6 +85,9 @@ |
||
85 | 85 | $this->setValues($value); |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param integer $variant |
|
90 | + */ |
|
88 | 91 | public function hasAlpha($variant = null) |
89 | 92 | { |
90 | 93 | if ($variant === null) { |
@@ -9,6 +9,11 @@ |
||
9 | 9 | public $class = null; |
10 | 10 | public $hints = array('docstring'); |
11 | 11 | |
12 | + /** |
|
13 | + * @param string $docstring |
|
14 | + * @param string $file |
|
15 | + * @param integer $line |
|
16 | + */ |
|
12 | 17 | public function __construct($docstring, $file, $line, $class = null) |
13 | 18 | { |
14 | 19 | parent::__construct('Docstring'); |
@@ -50,6 +50,9 @@ |
||
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param BasicObject $o |
|
55 | + */ |
|
53 | 56 | protected function blacklist(&$var, &$o) |
54 | 57 | { |
55 | 58 | if (function_exists('spl_object_hash')) { |
@@ -135,6 +135,9 @@ discard block |
||
135 | 135 | } |
136 | 136 | } |
137 | 137 | |
138 | + /** |
|
139 | + * @param DOMNode $var |
|
140 | + */ |
|
138 | 141 | protected function parseNode(&$var, InstanceObject &$o, $trigger) |
139 | 142 | { |
140 | 143 | // Fill the properties |
@@ -240,6 +243,9 @@ discard block |
||
240 | 243 | } |
241 | 244 | } |
242 | 245 | |
246 | + /** |
|
247 | + * @param string $prop |
|
248 | + */ |
|
243 | 249 | protected function parseProperty(InstanceObject $o, $prop, &$var) |
244 | 250 | { |
245 | 251 | // Duplicating (And slightly optimizing) the Parser::parseObject() code here |
@@ -59,6 +59,10 @@ |
||
59 | 59 | $o->addRepresentation($r, 0); |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $var |
|
64 | + * @param string|null $parent_path |
|
65 | + */ |
|
62 | 66 | protected static function xmlToSimpleXML($var, $parent_path) |
63 | 67 | { |
64 | 68 | try { |
@@ -16,6 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Renders a locked header. |
19 | + * @param string $content |
|
19 | 20 | */ |
20 | 21 | public function renderLockedHeader(BasicObject $o, $content) |
21 | 22 | { |
@@ -155,6 +155,9 @@ discard block |
||
155 | 155 | return '<dl>'.$header.$children.'</dl>'; |
156 | 156 | } |
157 | 157 | |
158 | + /** |
|
159 | + * @param boolean $has_children |
|
160 | + */ |
|
158 | 161 | public function renderHeaderWrapper(BasicObject $o, $has_children, $contents) |
159 | 162 | { |
160 | 163 | $out = '<dt'; |
@@ -281,6 +284,9 @@ discard block |
||
281 | 284 | return $output.'</dd>'; |
282 | 285 | } |
283 | 286 | |
287 | + /** |
|
288 | + * @return string |
|
289 | + */ |
|
284 | 290 | protected function renderTab(BasicObject $o, Representation $rep) |
285 | 291 | { |
286 | 292 | if ($plugin = $this->getPlugin(self::$tab_plugins, $rep->hints)) { |