Completed
Push — master ( 12e8ae...5696da )
by Michael
02:13
created
class/gwikiPage.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
     /**
286 286
      * Make sure that keyword obeys formatting rules or switch to illegal name
287 287
      *
288
-     * @param mixed $keyword - wiki page name
288
+     * @param string $keyword - wiki page name
289 289
      *
290 290
      * @return string
291 291
      */
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * @param int    $nsid namespace (prefix) id
310 310
      * @param string $page keyword
311 311
      *
312
-     * @return bool|string
312
+     * @return string
313 313
      */
314 314
     public function makeKeywordFromPrefix($nsid, $page)
315 315
     {
@@ -1070,8 +1070,8 @@  discard block
 block discarded – undo
1070 1070
     /**
1071 1071
      * Make a link from a wiki keyword
1072 1072
      *
1073
-     * @param mixed $keyword - wiki page name
1074
-     * @param mixed $altkey  - alternate text for link. If empty, display_keyword will be used.
1073
+     * @param string $keyword - wiki page name
1074
+     * @param string $altkey  - alternate text for link. If empty, display_keyword will be used.
1075 1075
      *
1076 1076
      * @return string
1077 1077
      */
@@ -1364,7 +1364,7 @@  discard block
 block discarded – undo
1364 1364
      *
1365 1365
      * @param string[] $matches preg_replace_callback matches
1366 1366
      *
1367
-     * @return bool|string
1367
+     * @return string|false
1368 1368
      */
1369 1369
     private function renderIndex($matches)
1370 1370
     {
@@ -1714,7 +1714,7 @@  discard block
 block discarded – undo
1714 1714
      *
1715 1715
      * @param string $page keyword
1716 1716
      *
1717
-     * @return array|bool
1717
+     * @return boolean
1718 1718
      */
1719 1719
     public function fetchPageSetToc(&$page)
1720 1720
     {
@@ -1780,7 +1780,7 @@  discard block
 block discarded – undo
1780 1780
      * @param integer $level    level limit
1781 1781
      * @param string  $tocclass base class for toc. Current level will be appended
1782 1782
      *
1783
-     * @return bool|string
1783
+     * @return false|string
1784 1784
      */
1785 1785
     public function renderPageSetToc(&$page, $level, $tocclass = 'wikitocpage')
1786 1786
     {
@@ -1806,7 +1806,7 @@  discard block
 block discarded – undo
1806 1806
 
1807 1807
     /**
1808 1808
      * render navigation for a page set
1809
-     * @param $page
1809
+     * @param string $page
1810 1810
      *
1811 1811
      * @return mixed
1812 1812
      */
Please login to merge, or discard this patch.