Completed
Push — master ( 856ac2...6452b0 )
by Michael
09:45
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.mimetype.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 class cmimetype
75 75
 {
76 76
     /**
77
-     * @param $filename
77
+     * @param string $filename
78 78
      *
79 79
      * @return string
80 80
      */
Please login to merge, or discard this patch.
class/class.newsstory.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,8 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * Returns the number of stories published before a date
66
+     * @param integer $timestamp
67
+     * @param integer $expired
66 68
      */
67 69
     function GetCountStoriesPublishedBefore($timestamp, $expired, $topicslist = '')
68 70
     {
@@ -82,6 +84,7 @@  discard block
 block discarded – undo
82 84
 
83 85
     /**
84 86
      * Load the specified story from the database
87
+     * @param integer $storyid
85 88
      */
86 89
     function getStory($storyid)
87 90
     {
@@ -92,6 +95,8 @@  discard block
 block discarded – undo
92 95
 
93 96
     /**
94 97
      * Delete stories that were published before a given date
98
+     * @param integer $timestamp
99
+     * @param integer $expired
95 100
      */
96 101
     function DeleteBeforeDate($timestamp, $expired, $topicslist = '')
97 102
     {
@@ -892,7 +897,7 @@  discard block
 block discarded – undo
892 897
      * @param int      $fromdate     Starting date
893 898
      * @param int      $todate       Ending date
894 899
      * @param string   $topicslist
895
-     * @param bool|int $usetopicsdef Should we also export topics definitions ?
900
+     * @param integer $usetopicsdef Should we also export topics definitions ?
896 901
      * @param          $tbltopics
897 902
      * @param boolean  $asobject     Return values as an object or not ?
898 903
      *
@@ -1057,6 +1062,9 @@  discard block
 block discarded – undo
1057 1062
         return $this->subtitle;
1058 1063
     }
1059 1064
 
1065
+    /**
1066
+     * @return double
1067
+     */
1060 1068
     function rating()
1061 1069
     {
1062 1070
         return $this->rating;
@@ -1227,6 +1235,7 @@  discard block
 block discarded – undo
1227 1235
 
1228 1236
     /**
1229 1237
      * Returns statistics about the stories and topics
1238
+     * @param boolean $limit
1230 1239
      */
1231 1240
     function GetStats($limit)
1232 1241
     {
@@ -1352,6 +1361,8 @@  discard block
 block discarded – undo
1352 1361
 
1353 1362
     /**
1354 1363
      * Get the date of the older and most recent news
1364
+     * @param integer $older
1365
+     * @param integer $recent
1355 1366
      */
1356 1367
     function GetOlderRecentNews(&$older, &$recent)
1357 1368
     {
@@ -1400,6 +1411,7 @@  discard block
 block discarded – undo
1400 1411
 
1401 1412
     /**
1402 1413
      * Returns the content of the summary and the titles requires for the list selector
1414
+     * @param string $titles
1403 1415
      */
1404 1416
     function auto_summary($text, &$titles)
1405 1417
     {
Please login to merge, or discard this patch.
class/class.newstopic.php 1 patch
Doc Comments   +6 added lines, -5 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
      */
@@ -271,6 +271,7 @@  discard block
 block discarded – undo
271 271
 
272 272
     /**
273 273
      * Returns some stats about a topic
274
+     * @param integer $topicid
274 275
      */
275 276
     function getTopicMiniStats($topicid)
276 277
     {
@@ -286,7 +287,7 @@  discard block
 block discarded – undo
286 287
     }
287 288
 
288 289
     /**
289
-     * @param $value
290
+     * @param integer $value
290 291
      */
291 292
     function setMenu($value)
292 293
     {
@@ -302,7 +303,7 @@  discard block
 block discarded – undo
302 303
     }
303 304
 
304 305
     /**
305
-     * @param $topicid
306
+     * @param integer $topicid
306 307
      */
307 308
     function getTopic($topicid)
308 309
     {
@@ -644,7 +645,7 @@  discard block
 block discarded – undo
644 645
     }
645 646
 
646 647
     /**
647
-     * @param $value
648
+     * @param integer $value
648 649
      */
649 650
     function setTopicFrontpage($value)
650 651
     {
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/registryfile.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     var $filename; // filename to manage
33 33
 
34 34
     /**
35
-     * @param null $fichier
35
+     * @param string $fichier
36 36
      */
37 37
     function news_registryfile($fichier = null)
38 38
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * @param null $fichier
54 54
      *
55
-     * @return bool|string
55
+     * @return string
56 56
      */
57 57
     function getfile($fichier = null)
58 58
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param      $content
73
+     * @param      string $content
74 74
      * @param null $fichier
75 75
      *
76 76
      * @return bool
Please login to merge, or discard this patch.
class/tree.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -238,6 +238,9 @@
 block discarded – undo
238 238
 
239 239
     /**
240 240
      * Internal function used by makeTreeAsArray
241
+     * @param string $fieldName
242
+     * @param integer $key
243
+     * @param string $prefix_orig
241 244
      */
242 245
     function _recursiveMakeTreeAsArray($fieldName, $key, &$ret, $prefix_orig, $prefix_curr = '')
243 246
     {
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.