Completed
Push — master ( c963bf...ad6325 )
by Michael
02:36
created
admin/functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
 }
30 30
 
31 31
 /**
32
- * @param $title
33
- * @param $cols
32
+ * @param string $title
33
+ * @param integer $cols
34 34
  */
35 35
 function adminTableStart($title, $cols)
36 36
 {
Please login to merge, or discard this patch.
admin/prefixes.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 /**
21 21
  * @param $pid
22 22
  *
23
- * @return array
23
+ * @return string
24 24
  */
25 25
 function getPrefixGroups($pid)
26 26
 {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 // Prefixes
150 150
 /**
151 151
  * @param $row
152
- * @param $action
152
+ * @param string $action
153 153
  *
154 154
  * @return string
155 155
  */
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
  * @param      $pid
353 353
  * @param bool $delete
354 354
  *
355
- * @return null
355
+ * @return false|null
356 356
  */
357 357
 function installTemplate($pid, $delete = false)
358 358
 {
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
 
418 418
 /**
419 419
  * @param $row
420
- * @param $action
420
+ * @param string $action
421 421
  *
422 422
  * @return string
423 423
  */
@@ -563,7 +563,7 @@  discard block
 block discarded – undo
563 563
 // utility
564 564
 /**
565 565
  * @param     $action
566
- * @param int $pid
566
+ * @param string $pid
567 567
  */
568 568
 function confirmAction($action, $pid = 0)
569 569
 {
Please login to merge, or discard this patch.
ajaxfileedit.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 }
144 144
 
145 145
 /**
146
- * @param $filename
146
+ * @param string $filename
147 147
  *
148 148
  * @return array
149 149
  */
Please login to merge, or discard this patch.
testing/LoremIpsumGenerator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
     /**
332 332
      * @param $count
333
-     * @param $loremipsum
333
+     * @param boolean $loremipsum
334 334
      *
335 335
      * @return string
336 336
      */
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
 
384 384
     /**
385 385
      * @param $count
386
-     * @param $loremipsum
386
+     * @param boolean $loremipsum
387 387
      *
388 388
      * @return string
389 389
      */
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
     * standard deviation are determined superficially
463 463
     */
464 464
     /**
465
-     * @param $len
465
+     * @param integer $len
466 466
      *
467 467
      * @return int
468 468
      */
Please login to merge, or discard this patch.
wizard.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
  * @param $page
110 110
  * @param $dir
111 111
  *
112
- * @return bool
112
+ * @return false|null
113 113
  */
114 114
 function doImportText($page, $dir)
115 115
 {
@@ -179,10 +179,10 @@  discard block
 block discarded – undo
179 179
 /**
180 180
  * @param         $out
181 181
  * @param DOMNode $domNode
182
- * @param         $nest
183
- * @param         $lt
184
- * @param         $ld
185
- * @param         $nop
182
+ * @param         integer $nest
183
+ * @param         string $lt
184
+ * @param         integer $ld
185
+ * @param         integer $nop
186 186
  */
187 187
 function showDOMNode(&$out, DOMNode $domNode, $nest, $lt, $ld, $nop)
188 188
 {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
  * @param $import_html
375 375
  * @param $dir
376 376
  *
377
- * @return bool
377
+ * @return false|null
378 378
  */
379 379
 function doImportHTML($page, $import_html, $dir)
380 380
 {
Please login to merge, or discard this patch.
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.