Completed
Push — master ( 741c06...b610c1 )
by Michael
10s
created
admin/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -578,7 +578,7 @@
 block discarded – undo
578 578
 }
579 579
 
580 580
 /**
581
- * @param $text
581
+ * @param string $text
582 582
  *
583 583
  * @return string
584 584
  */
Please login to merge, or discard this patch.
class/class.sfiles.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @param      $folder
67
+     * @param      string $folder
68 68
      * @param      $filename
69 69
      * @param bool $trimname
70 70
      *
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-     * @param $id
139
+     * @param integer $id
140 140
      */
141 141
     function getFile($id)
142 142
     {
Please login to merge, or discard this patch.
class/plugins/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 /**
31 31
  * @param $items
32 32
  *
33
- * @return null
33
+ * @return false|null
34 34
  */
35 35
 function news_tag_iteminfo(&$items)
36 36
 {
Please login to merge, or discard this patch.
class/xoopsstory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
     }
320 320
 
321 321
     /**
322
-     * @param $storyid
322
+     * @param integer $storyid
323 323
      */
324 324
     function getStory($storyid)
325 325
     {
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
     }
367 367
 
368 368
     /**
369
-     * @param $total
369
+     * @param integer $total
370 370
      *
371 371
      * @return bool
372 372
      */
Please login to merge, or discard this patch.
class/xoopstopic.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @param $value
74
+     * @param integer $value
75 75
      */
76 76
     function setTopicPid($value)
77 77
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param $topicid
82
+     * @param integer $topicid
83 83
      */
84 84
     function getTopic($topicid)
85 85
     {
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     }
392 392
 
393 393
     /**
394
-     * @param $pid
394
+     * @param integer $pid
395 395
      * @param $title
396 396
      *
397 397
      * @return bool
Please login to merge, or discard this patch.
class/xoopstree.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
     //sets the names of table, unique id, and parend id
43 43
     /**
44 44
      * @param $table_name
45
-     * @param $id_name
46
-     * @param $pid_name
45
+     * @param string $id_name
46
+     * @param string $pid_name
47 47
      */
48 48
     function MyXoopsTree($table_name, $id_name, $pid_name)
49 49
     {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     // returns an array of first child objects for a given id($sel_id)
58 58
     /**
59
-     * @param        $sel_id
59
+     * @param        integer $sel_id
60 60
      * @param string $order
61 61
      *
62 62
      * @return array
@@ -294,8 +294,8 @@  discard block
 block discarded – undo
294 294
     /**
295 295
      * Enter description here...
296 296
      *
297
-     * @param int|\unknown_type    $sel_id
298
-     * @param string|\unknown_type $order
297
+     * @param integer    $sel_id
298
+     * @param string $order
299 299
      * @param array|\unknown_type  $parray
300 300
      *
301 301
      * @return unknown
@@ -323,8 +323,8 @@  discard block
 block discarded – undo
323 323
     /**
324 324
      * Enter description here...
325 325
      *
326
-     * @param int|\unknown_type    $sel_id
327
-     * @param string|\unknown_type $order
326
+     * @param integer    $sel_id
327
+     * @param string $order
328 328
      * @param array|\unknown_type  $parray
329 329
      * @param string|\unknown_type $r_prefix
330 330
      *
Please login to merge, or discard this patch.
class/class.newstopic.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -98,14 +98,14 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * makes a nicely ordered selection box
100 100
      *
101
-     * @param        $title
101
+     * @param        string $title
102 102
      * @param string $order
103 103
      * @param int    $preset_id is used to specify a preselected item
104 104
      * @param int    $none      set $none to 1 to add a option with value 0
105 105
      *
106 106
      * @param string $sel_name
107 107
      * @param string $onchange
108
-     * @param        $perms
108
+     * @param        string $perms
109 109
      *
110 110
      * @return string
111 111
      */
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 
273 273
     /**
274 274
      * Returns some stats about a topic
275
-     * @param $topicid
275
+     * @param integer $topicid
276 276
      * @return array
277 277
      */
278 278
     public function getTopicMiniStats($topicid)
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     }
289 289
 
290 290
     /**
291
-     * @param $value
291
+     * @param integer $value
292 292
      */
293 293
     public function setMenu($value)
294 294
     {
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     }
305 305
 
306 306
     /**
307
-     * @param $topicid
307
+     * @param integer $topicid
308 308
      */
309 309
     public function getTopic($topicid)
310 310
     {
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
     }
622 622
 
623 623
     /**
624
-     * @return mixed
624
+     * @return integer
625 625
      */
626 626
     public function topic_frontpage()
627 627
     {
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
     }
630 630
 
631 631
     /**
632
-     * @param $value
632
+     * @param integer $value
633 633
      */
634 634
     public function setTopicFrontpage($value)
635 635
     {
Please login to merge, or discard this patch.
class/tree.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -238,10 +238,10 @@
 block discarded – undo
238 238
 
239 239
     /**
240 240
      * Internal function used by makeTreeAsArray
241
-     * @param        $fieldName
242
-     * @param        $key
241
+     * @param        string $fieldName
242
+     * @param        integer $key
243 243
      * @param        $ret
244
-     * @param        $prefix_orig
244
+     * @param        string $prefix_orig
245 245
      * @param string $prefix_curr
246 246
      */
247 247
     public function _recursiveMakeTreeAsArray($fieldName, $key, &$ret, $prefix_orig, $prefix_curr = '')
Please login to merge, or discard this patch.
class/class.newsstory.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
 
65 65
     /**
66 66
      * Returns the number of stories published before a date
67
-     * @param         $timestamp
68
-     * @param         $expired
67
+     * @param         integer $timestamp
68
+     * @param         integer $expired
69 69
      * @param  string $topicslist
70 70
      * @return mixed
71 71
      */
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 
88 88
     /**
89 89
      * Load the specified story from the database
90
-     * @param $storyid
90
+     * @param integer $storyid
91 91
      */
92 92
     public function getStory($storyid)
93 93
     {
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * Delete stories that were published before a given date
101
-     * @param         $timestamp
102
-     * @param         $expired
101
+     * @param         integer $timestamp
102
+     * @param         integer $expired
103 103
      * @param  string $topicslist
104 104
      * @return bool
105 105
      */
@@ -1031,7 +1031,7 @@  discard block
 block discarded – undo
1031 1031
      * @param int      $fromdate     Starting date
1032 1032
      * @param int      $todate       Ending date
1033 1033
      * @param string   $topicslist
1034
-     * @param bool|int $usetopicsdef Should we also export topics definitions ?
1034
+     * @param integer $usetopicsdef Should we also export topics definitions ?
1035 1035
      * @param          $tbltopics
1036 1036
      * @param boolean  $asobject     Return values as an object or not ?
1037 1037
      *
@@ -1170,7 +1170,7 @@  discard block
 block discarded – undo
1170 1170
     }
1171 1171
 
1172 1172
     /**
1173
-     * @return mixed
1173
+     * @return double
1174 1174
      */
1175 1175
     public function rating()
1176 1176
     {
@@ -1480,8 +1480,8 @@  discard block
 block discarded – undo
1480 1480
 
1481 1481
     /**
1482 1482
      * Get the date of the older and most recent news
1483
-     * @param $older
1484
-     * @param $recent
1483
+     * @param integer $older
1484
+     * @param integer $recent
1485 1485
      */
1486 1486
     public function GetOlderRecentNews(&$older, &$recent)
1487 1487
     {
@@ -1531,7 +1531,7 @@  discard block
 block discarded – undo
1531 1531
     /**
1532 1532
      * Returns the content of the summary and the titles requires for the list selector
1533 1533
      * @param $text
1534
-     * @param $titles
1534
+     * @param string $titles
1535 1535
      * @return string
1536 1536
      */
1537 1537
     public function auto_summary($text, &$titles)
Please login to merge, or discard this patch.