@@ -11,6 +11,10 @@ |
||
11 | 11 | |
12 | 12 | protected $name; |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $label |
|
16 | + * @param string $name |
|
17 | + */ |
|
14 | 18 | public function __construct($label, $name = null) |
15 | 19 | { |
16 | 20 | $this->label = $label; |
@@ -145,6 +145,9 @@ |
||
145 | 145 | return "<a {$class}href=\"{$ideLink}\">{$shortenedPath}:{$line}</a>"; |
146 | 146 | } |
147 | 147 | |
148 | + /** |
|
149 | + * @param string $string |
|
150 | + */ |
|
148 | 151 | public function escape($string, $encoding = false) |
149 | 152 | { |
150 | 153 | if ($encoding === false) { |
@@ -6,5 +6,8 @@ |
||
6 | 6 | |
7 | 7 | interface ObjectPluginInterface extends PluginInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return string|null |
|
11 | + */ |
|
9 | 12 | public function renderObject(BasicObject $o); |
10 | 13 | } |
@@ -6,5 +6,8 @@ |
||
6 | 6 | |
7 | 7 | interface PluginInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return void |
|
11 | + */ |
|
9 | 12 | public function __construct(RichRenderer $r); |
10 | 13 | } |
@@ -103,6 +103,9 @@ |
||
103 | 103 | return $out; |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param integer $width |
|
108 | + */ |
|
106 | 109 | public function boxText($text, $width) |
107 | 110 | { |
108 | 111 | if (BlobObject::strlen($text) > $width - 4) { |
@@ -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 | $object = $o->transplant(new InstanceObject()); |
@@ -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) |
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 |
@@ -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 | */ |