@@ -292,7 +292,7 @@ |
||
292 | 292 | * Returns the repository for the given extension |
293 | 293 | * |
294 | 294 | * @param $extension |
295 | - * @return false|string |
|
295 | + * @return string |
|
296 | 296 | */ |
297 | 297 | private function getSourceRepo($extension) { |
298 | 298 | /** @var helper_plugin_extension_extension $ext */ |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * This is the preferred way of setting the element's value |
28 | 28 | * |
29 | 29 | * @param null|string $value |
30 | - * @return string|$this |
|
30 | + * @return string |
|
31 | 31 | */ |
32 | 32 | public function val($value = null) { |
33 | 33 | if($value !== null) { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * @param string $file filename |
182 | 182 | * @param string $content |
183 | 183 | * @param string $id page id |
184 | - * @param int|bool $rev timestamp of revision |
|
184 | + * @param integer $rev timestamp of revision |
|
185 | 185 | * @return bool |
186 | 186 | */ |
187 | 187 | function io_writeWikiPage($file, $content, $id, $rev=false) { |
@@ -488,7 +488,7 @@ discard block |
||
488 | 488 | * @author Andreas Gohr <[email protected]> |
489 | 489 | * |
490 | 490 | * @param string $target filename |
491 | - * @return bool|int|string |
|
491 | + * @return resource|null |
|
492 | 492 | */ |
493 | 493 | function io_mkdir_p($target){ |
494 | 494 | global $conf; |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | * Add the To: recipients |
293 | 293 | * |
294 | 294 | * @see cleanAddress |
295 | - * @param string|string[] $address Multiple adresses separated by commas or as array |
|
295 | + * @param string $address Multiple adresses separated by commas or as array |
|
296 | 296 | */ |
297 | 297 | public function to($address) { |
298 | 298 | $this->setHeader('To', $address, false); |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | * Add the Bcc: recipients |
313 | 313 | * |
314 | 314 | * @see cleanAddress |
315 | - * @param string|string[] $address Multiple adresses separated by commas or as array |
|
315 | + * @param string $address Multiple adresses separated by commas or as array |
|
316 | 316 | */ |
317 | 317 | public function bcc($address) { |
318 | 318 | $this->setHeader('Bcc', $address, false); |
@@ -454,7 +454,7 @@ |
||
454 | 454 | * |
455 | 455 | * @param string $id page id |
456 | 456 | * @param array $orig the original metadata |
457 | - * @return array|null array('current'=> array,'persistent'=> array); |
|
457 | + * @return string array('current'=> array,'persistent'=> array); |
|
458 | 458 | */ |
459 | 459 | function p_render_metadata($id, $orig){ |
460 | 460 | // make sure the correct ID is in global ID |
@@ -286,7 +286,7 @@ |
||
286 | 286 | * Adds a label referencing another input element, allows HTML for content |
287 | 287 | * |
288 | 288 | * @param string $content |
289 | - * @param string|Element $for |
|
289 | + * @param string $for |
|
290 | 290 | * @param int $pos |
291 | 291 | * @return Element |
292 | 292 | */ |
@@ -484,6 +484,9 @@ |
||
484 | 484 | protected $location; // base url location of the CSS/Less file |
485 | 485 | protected $relative_path = null; |
486 | 486 | |
487 | + /** |
|
488 | + * @param string $file |
|
489 | + */ |
|
487 | 490 | public function __construct($file) { |
488 | 491 | $this->filepath = $file; |
489 | 492 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * |
24 | 24 | * @param string $file file name |
25 | 25 | * @param bool $knownonly |
26 | - * @return array with extension, mimetype and if it should be downloaded |
|
26 | + * @return string with extension, mimetype and if it should be downloaded |
|
27 | 27 | */ |
28 | 28 | function mimetype($file, $knownonly=true){ |
29 | 29 | $mtypes = getMimeTypes(); // known mimetypes |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | * @param string $file |
245 | 245 | * @param bool $lower |
246 | 246 | * |
247 | - * @return array |
|
247 | + * @return string |
|
248 | 248 | */ |
249 | 249 | function confToHash($file,$lower=false) { |
250 | 250 | $conf = array(); |
@@ -942,6 +942,9 @@ discard block |
||
942 | 942 | $this->_tag = ''; |
943 | 943 | } |
944 | 944 | |
945 | + /** |
|
946 | + * @param string $new_tag |
|
947 | + */ |
|
945 | 948 | function _flushGroup($new_tag) { |
946 | 949 | if ($this->_group !== '') { |
947 | 950 | if ($this->_tag == 'mark') |
@@ -1364,8 +1367,8 @@ discard block |
||
1364 | 1367 | /** |
1365 | 1368 | * @access private |
1366 | 1369 | * |
1367 | - * @param array $edits1 |
|
1368 | - * @param array $edits2 |
|
1370 | + * @param _DiffOp[] $edits1 |
|
1371 | + * @param _DiffOp[] $edits2 |
|
1369 | 1372 | * |
1370 | 1373 | * @return array |
1371 | 1374 | */ |