@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param int $state The lexer state for the match |
45 | 45 | * @param int $pos The character position of the matched text |
46 | 46 | * @param Doku_Handler $handler The Doku_Handler object |
47 | - * @return array Return an array with all data you want to use in render |
|
47 | + * @return string[] Return an array with all data you want to use in render |
|
48 | 48 | */ |
49 | 49 | public function handle($match, $state, $pos, Doku_Handler $handler){ |
50 | 50 | $match = substr($match,7,-2); //strip ~~INFO: from start and ~~ from end |
@@ -408,7 +408,7 @@ discard block |
||
408 | 408 | * keep track of internal links in $this->meta['relation']['references'] |
409 | 409 | * |
410 | 410 | * @param string $id page ID to link to. eg. 'wiki:syntax' |
411 | - * @param string|array|null $name name for the link, array for media file |
|
411 | + * @param string $name name for the link, array for media file |
|
412 | 412 | */ |
413 | 413 | public function internallink($id, $name = null) { |
414 | 414 | global $ID; |
@@ -579,7 +579,7 @@ discard block |
||
579 | 579 | * |
580 | 580 | * @param string $name |
581 | 581 | * |
582 | - * @return mixed|string |
|
582 | + * @return string |
|
583 | 583 | */ |
584 | 584 | public function _simpleTitle($name) { |
585 | 585 | global $conf; |