@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | /** |
| 287 | 287 | * Make sure that keyword obeys formatting rules or switch to illegal name |
| 288 | 288 | * |
| 289 | - * @param mixed $keyword - wiki page name |
|
| 289 | + * @param string $keyword - wiki page name |
|
| 290 | 290 | * |
| 291 | 291 | * @return string |
| 292 | 292 | */ |
@@ -1071,8 +1071,8 @@ discard block |
||
| 1071 | 1071 | /** |
| 1072 | 1072 | * Make a link from a wiki keyword |
| 1073 | 1073 | * |
| 1074 | - * @param mixed $keyword - wiki page name |
|
| 1075 | - * @param mixed $altkey - alternate text for link. If empty, display_keyword will be used. |
|
| 1074 | + * @param string $keyword - wiki page name |
|
| 1075 | + * @param string $altkey - alternate text for link. If empty, display_keyword will be used. |
|
| 1076 | 1076 | * |
| 1077 | 1077 | * @return string |
| 1078 | 1078 | */ |
@@ -1365,7 +1365,7 @@ discard block |
||
| 1365 | 1365 | * |
| 1366 | 1366 | * @param string[] $matches preg_replace_callback matches |
| 1367 | 1367 | * |
| 1368 | - * @return bool|string |
|
| 1368 | + * @return string|false |
|
| 1369 | 1369 | */ |
| 1370 | 1370 | private function renderIndex($matches) |
| 1371 | 1371 | { |
@@ -1781,7 +1781,7 @@ discard block |
||
| 1781 | 1781 | * @param integer $level level limit |
| 1782 | 1782 | * @param string $tocclass base class for toc. Current level will be appended |
| 1783 | 1783 | * |
| 1784 | - * @return bool|string |
|
| 1784 | + * @return false|string |
|
| 1785 | 1785 | */ |
| 1786 | 1786 | public function renderPageSetToc(&$page, $level, $tocclass = 'wikitocpage') |
| 1787 | 1787 | { |
@@ -1808,7 +1808,7 @@ discard block |
||
| 1808 | 1808 | |
| 1809 | 1809 | /** |
| 1810 | 1810 | * render navigation for a page set |
| 1811 | - * @param $page |
|
| 1811 | + * @param string $page |
|
| 1812 | 1812 | * |
| 1813 | 1813 | * @return mixed |
| 1814 | 1814 | */ |