Completed
Branch master (e22ad1)
by Michael
03:33 queued 59s
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.
class/gwikiPage.php 1 patch
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @param        $name
134
+     * @param        string $name
135 135
      * @param string $domain
136 136
      * @param null   $language
137 137
      */
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     /**
261 261
      * Make sure that keyword obeys formatting rules or switch to illegal name
262 262
      *
263
-     * @param mixed $keyword - wiki page name
263
+     * @param string $keyword - wiki page name
264 264
      *
265 265
      * @return mixed|string
266 266
      * @access public
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
 
571 571
     // get the next higher unused page_set_order for a given page_set_home
572 572
     /**
573
-     * @param $page_set_home
573
+     * @param string $page_set_home
574 574
      *
575 575
      * @return int
576 576
      */
@@ -776,7 +776,7 @@  discard block
 block discarded – undo
776 776
     }
777 777
 
778 778
     /**
779
-     * @param $keyword
779
+     * @param string $keyword
780 780
      *
781 781
      * @return int
782 782
      */
@@ -847,7 +847,7 @@  discard block
 block discarded – undo
847 847
 
848 848
     /**
849 849
      * @param      $keyword
850
-     * @param null $id
850
+     * @param integer $id
851 851
      *
852 852
      * @return bool
853 853
      */
@@ -1035,7 +1035,7 @@  discard block
 block discarded – undo
1035 1035
      * Make a link from a wiki keyword
1036 1036
      *
1037 1037
      * @param mixed $keyword - wiki page name
1038
-     * @param mixed $altkey  - alternate text for link. If empty, display_keyword will be used.
1038
+     * @param string $altkey  - alternate text for link. If empty, display_keyword will be used.
1039 1039
      *
1040 1040
      * @return string
1041 1041
      * @access public
@@ -1163,7 +1163,7 @@  discard block
 block discarded – undo
1163 1163
     }
1164 1164
 
1165 1165
     /**
1166
-     * @param null $prefix
1166
+     * @param string $prefix
1167 1167
      *
1168 1168
      * @return string
1169 1169
      */
@@ -1267,7 +1267,7 @@  discard block
 block discarded – undo
1267 1267
     }
1268 1268
 
1269 1269
     /**
1270
-     * @param null $prefix
1270
+     * @param string $prefix
1271 1271
      *
1272 1272
      * @return string
1273 1273
      */
@@ -1321,7 +1321,7 @@  discard block
 block discarded – undo
1321 1321
     /**
1322 1322
      * @param $matches
1323 1323
      *
1324
-     * @return bool|string
1324
+     * @return string|false
1325 1325
      */
1326 1326
     private function renderIndex($matches)
1327 1327
     {
@@ -1366,8 +1366,8 @@  discard block
 block discarded – undo
1366 1366
 
1367 1367
     /**
1368 1368
      * @param $needle
1369
-     * @param $pre
1370
-     * @param $post
1369
+     * @param string $pre
1370
+     * @param string $post
1371 1371
      * @param $txt
1372 1372
      *
1373 1373
      * @return mixed
@@ -1397,7 +1397,7 @@  discard block
 block discarded – undo
1397 1397
     }
1398 1398
 
1399 1399
     /**
1400
-     * @param $type
1400
+     * @param string $type
1401 1401
      * @param $source
1402 1402
      *
1403 1403
      * @return string
@@ -1644,7 +1644,7 @@  discard block
 block discarded – undo
1644 1644
     /**
1645 1645
      * @param $page
1646 1646
      *
1647
-     * @return array|bool
1647
+     * @return boolean
1648 1648
      */
1649 1649
     public function fetchPageSetToc(&$page)
1650 1650
     {
@@ -1703,7 +1703,7 @@  discard block
 block discarded – undo
1703 1703
 
1704 1704
     /**
1705 1705
      * @param        $page
1706
-     * @param        $level
1706
+     * @param        integer $level
1707 1707
      * @param string $tocclass
1708 1708
      *
1709 1709
      * @return string
@@ -1731,7 +1731,7 @@  discard block
 block discarded – undo
1731 1731
     }
1732 1732
 
1733 1733
     /**
1734
-     * @param $page
1734
+     * @param string $page
1735 1735
      *
1736 1736
      * @return mixed
1737 1737
      */
@@ -1834,8 +1834,8 @@  discard block
 block discarded – undo
1834 1834
     }
1835 1835
 
1836 1836
     /**
1837
-     * @param $keyword
1838
-     * @param $name
1837
+     * @param string $keyword
1838
+     * @param string $name
1839 1839
      *
1840 1840
      * @return bool
1841 1841
      */
@@ -2214,9 +2214,9 @@  discard block
 block discarded – undo
2214 2214
     }
2215 2215
 
2216 2216
     /**
2217
-     * @param $body
2217
+     * @param string $body
2218 2218
      *
2219
-     * @return mixed
2219
+     * @return string
2220 2220
      */
2221 2221
     private function convertEntities($body)
2222 2222
     {
@@ -2257,7 +2257,7 @@  discard block
 block discarded – undo
2257 2257
      * @param null $body
2258 2258
      * @param null $title
2259 2259
      *
2260
-     * @return mixed|null|string
2260
+     * @return string
2261 2261
      */
2262 2262
     public function renderTeaser($body = null, $title = null)
2263 2263
     {
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.