@@ -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 */ |
@@ -423,7 +423,7 @@ |
||
423 | 423 | } |
424 | 424 | |
425 | 425 | /** |
426 | - * @param $code |
|
426 | + * @param integer $code |
|
427 | 427 | * @param $msg |
428 | 428 | * @return Doku_Cli_Opts_Error |
429 | 429 | */ |
@@ -1935,6 +1935,7 @@ |
||
1935 | 1935 | * Strips source mapping declarations from given text #601 |
1936 | 1936 | * |
1937 | 1937 | * @param string &$text reference to the CSS or JavaScript code to clean |
1938 | + * @param string $text |
|
1938 | 1939 | */ |
1939 | 1940 | function stripsourcemaps(&$text){ |
1940 | 1941 | $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text); |
@@ -23,7 +23,7 @@ |
||
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 |
@@ -226,6 +226,7 @@ discard block |
||
226 | 226 | * of the two files do not match, and likewise that the last lines do not |
227 | 227 | * match. The caller must trim matching lines from the beginning and end |
228 | 228 | * of the portions it is going to specify. |
229 | + * @param double $nchunks |
|
229 | 230 | */ |
230 | 231 | function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) { |
231 | 232 | $flip = false; |
@@ -336,6 +337,10 @@ discard block |
||
336 | 337 | * |
337 | 338 | * Note that XLIM, YLIM are exclusive bounds. |
338 | 339 | * All line numbers are origin-0 and discarded lines are not counted. |
340 | + * @param integer $xoff |
|
341 | + * @param integer $xlim |
|
342 | + * @param integer $yoff |
|
343 | + * @param integer $ylim |
|
339 | 344 | */ |
340 | 345 | function _compareseq($xoff, $xlim, $yoff, $ylim) { |
341 | 346 | // Slide down the bottom initial diagonal. |
@@ -918,6 +923,9 @@ discard block |
||
918 | 923 | $this->_tag = ''; |
919 | 924 | } |
920 | 925 | |
926 | + /** |
|
927 | + * @param string $new_tag |
|
928 | + */ |
|
921 | 929 | function _flushGroup($new_tag) { |
922 | 930 | if ($this->_group !== '') { |
923 | 931 | if ($this->_tag == 'mark') |
@@ -228,7 +228,7 @@ |
||
228 | 228 | * @param callback $action (optional, default=NULL) default action, a php callback function |
229 | 229 | * @param bool $canPreventDefault (optional, default=true) can hooks prevent the default action |
230 | 230 | * |
231 | - * @return mixed the event results value after all event processing is complete |
|
231 | + * @return boolean the event results value after all event processing is complete |
|
232 | 232 | * by default this is the return value of the default action however |
233 | 233 | * it can be set or modified by event handler hooks |
234 | 234 | */ |
@@ -456,6 +456,7 @@ discard block |
||
456 | 456 | * |
457 | 457 | * @see form_makeField |
458 | 458 | * @author Tom N Harris <[email protected]> |
459 | + * @param string $name |
|
459 | 460 | */ |
460 | 461 | function form_makeTextField($name, $value='', $label=null, $id='', $class='', $attrs=array()) { |
461 | 462 | if (is_null($label)) $label = $name; |
@@ -472,6 +473,7 @@ discard block |
||
472 | 473 | * |
473 | 474 | * @see form_makeField |
474 | 475 | * @author Tom N Harris <[email protected]> |
476 | + * @param string $name |
|
475 | 477 | */ |
476 | 478 | function form_makePasswordField($name, $label=null, $id='', $class='', $attrs=array()) { |
477 | 479 | if (is_null($label)) $label = $name; |
@@ -487,6 +489,7 @@ discard block |
||
487 | 489 | * |
488 | 490 | * @see form_makeField |
489 | 491 | * @author Michael Klier <[email protected]> |
492 | + * @param string $name |
|
490 | 493 | */ |
491 | 494 | function form_makeFileField($name, $label=null, $id='', $class='', $attrs=array()) { |
492 | 495 | if (is_null($label)) $label = $name; |
@@ -504,6 +507,7 @@ discard block |
||
504 | 507 | * |
505 | 508 | * @see form_makeFieldRight |
506 | 509 | * @author Tom N Harris <[email protected]> |
510 | + * @param string $name |
|
507 | 511 | */ |
508 | 512 | function form_makeCheckboxField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) { |
509 | 513 | if (is_null($label)) $label = $name; |
@@ -520,6 +524,7 @@ discard block |
||
520 | 524 | * |
521 | 525 | * @see form_makeFieldRight |
522 | 526 | * @author Tom N Harris <[email protected]> |
527 | + * @param string $name |
|
523 | 528 | */ |
524 | 529 | function form_makeRadioField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) { |
525 | 530 | if (is_null($label)) $label = $name; |
@@ -324,7 +324,7 @@ |
||
324 | 324 | * |
325 | 325 | * @param string $id page id |
326 | 326 | * @param array $highlight |
327 | - * @return mixed |
|
327 | + * @return string |
|
328 | 328 | */ |
329 | 329 | function ft_snippet($id,$highlight){ |
330 | 330 | $text = rawWiki($id); |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * @author Tom N Harris <[email protected]> |
63 | 63 | * @author Michael Hamann <[email protected]> |
64 | 64 | * |
65 | - * @return int|string |
|
65 | + * @return string |
|
66 | 66 | */ |
67 | 67 | function idx_get_version(){ |
68 | 68 | static $indexer_version = null; |