Completed
Push — master ( 2b2ff7...455d4b )
by Michael
11:08
created
htdocs/class/xoopsform/formradio.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Set the pre-selected value
89 89
      *
90
-     * @param  $value string
90
+     * @param  string $value string
91 91
      */
92 92
     public function setValue($value)
93 93
     {
Please login to merge, or discard this patch.
htdocs/class/xoopsform/formtextarea.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * Set initial content
105 105
      *
106
-     * @param  $value string
106
+     * @param  string $value string
107 107
      */
108 108
     public function setValue($value)
109 109
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * prepare HTML for output
115 115
      *
116
-     * @return sting HTML
116
+     * @return string HTML
117 117
      */
118 118
     public function render()
119 119
     {
Please login to merge, or discard this patch.
htdocs/class/xoopskernel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * Convert a XOOPS path to a physical one
46 46
      * @param               $url
47 47
      * @param  bool         $virtual
48
-     * @return mixed|string
48
+     * @return string
49 49
      */
50 50
     public function path($url, $virtual = false)
51 51
     {
Please login to merge, or discard this patch.
htdocs/class/xoopslists.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         /**
102 102
          * gets list of name of directories inside a directory
103
-         * @param $dirname
103
+         * @param string $dirname
104 104
          * @return array
105 105
          */
106 106
         public static function getDirListAsArray($dirname)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
         /**
133 133
          * gets list of all files in a directory
134
-         * @param        $dirname
134
+         * @param        string $dirname
135 135
          * @param string $prefix
136 136
          * @return array
137 137
          */
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         /**
160 160
          * gets list of image file names in a directory
161
-         * @param        $dirname
161
+         * @param        string $dirname
162 162
          * @param string $prefix
163 163
          * @return array
164 164
          */
Please login to merge, or discard this patch.
htdocs/class/xoopsload.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     //static  $configs;
29 29
 
30 30
     /**
31
-     * @param        $name
31
+     * @param        string $name
32 32
      * @param string $type
33 33
      *
34 34
      * @return bool
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Load core class
93 93
      *
94 94
      * @access private
95
-     * @param $name
95
+     * @param string $name
96 96
      * @return bool|string
97 97
      */
98 98
     public static function loadCore($name)
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * Load Framework class
127 127
      *
128 128
      * @access private
129
-     * @param $name
129
+     * @param string $name
130 130
      * @return bool|string
131 131
      */
132 132
     public static function loadFramework($name)
@@ -148,8 +148,8 @@  discard block
 block discarded – undo
148 148
      * Load module class
149 149
      *
150 150
      * @access private
151
-     * @param       $name
152
-     * @param  null $dirname
151
+     * @param       string $name
152
+     * @param  string $dirname
153 153
      * @return bool
154 154
      */
155 155
     public static function loadModule($name, $dirname = null)
Please login to merge, or discard this patch.
htdocs/class/xoopslocal.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * XoopsLocalAbstract::substr()
29 29
      *
30
-     * @param mixed  $str
31
-     * @param mixed  $start
32
-     * @param mixed  $length
30
+     * @param string  $str
31
+     * @param integer  $start
32
+     * @param integer  $length
33 33
      * @param string $trimmarker
34 34
      *
35 35
      * @return mixed|string
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @param  mixed  $text
72 72
      * @param  string $to
73 73
      * @param  string $from
74
-     * @return mixed|string
74
+     * @return string
75 75
      */
76 76
     public static function convert_encoding($text, $to = 'utf-8', $from = '')
77 77
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * Setting $timeoffset to null (by default) will skip timezone calculation for user, using default timezone instead, which is a MUST for cached contents
125 125
      * @param        $time
126 126
      * @param string $format
127
-     * @param null   $timeoffset
127
+     * @param string   $timeoffset
128 128
      * @return string
129 129
      */
130 130
     public static function formatTimestamp($time, $format = 'l', $timeoffset = null)
Please login to merge, or discard this patch.
htdocs/class/xoopsmailer.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     // public
141 141
     /**
142
-     * @param null $value
142
+     * @param string $value
143 143
      */
144 144
     public function setTemplateDir($value = null)
145 145
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
     // private
155 155
     /**
156
-     * @return bool|string
156
+     * @return string|false
157 157
      */
158 158
     public function getTemplatePath()
159 159
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     // public
179 179
     /**
180
-     * @param $value
180
+     * @param string $value
181 181
      */
182 182
     public function setTemplate($value)
183 183
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
     // public
227 227
     /**
228
-     * @param $value
228
+     * @param string $value
229 229
      */
230 230
     public function setSubject($value)
231 231
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
     // public
236 236
     /**
237
-     * @param $value
237
+     * @param string $value
238 238
      */
239 239
     public function setBody($value)
240 240
     {
@@ -364,8 +364,8 @@  discard block
 block discarded – undo
364 364
     // private
365 365
     /**
366 366
      * @param $uid
367
-     * @param $subject
368
-     * @param $body
367
+     * @param string $subject
368
+     * @param string $body
369 369
      *
370 370
      * @return bool
371 371
      */
@@ -392,9 +392,9 @@  discard block
 block discarded – undo
392 392
      * Uses the new XoopsMultiMailer
393 393
      *
394 394
      * @param $email
395
-     * @param $subject
396
-     * @param $body
397
-     * @param $headers
395
+     * @param string $subject
396
+     * @param string $body
397
+     * @param string $headers
398 398
      *
399 399
      * @return bool
400 400
      */
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
     // abstract
562 562
     // to be overridden by lang specific mail class, if needed
563 563
     /**
564
-     * @param $text
564
+     * @param string $text
565 565
      *
566 566
      * @return mixed
567 567
      */
Please login to merge, or discard this patch.
htdocs/class/xoopsstory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     }
268 268
 
269 269
     /**
270
-     * @param $storyid
270
+     * @param integer $storyid
271 271
      */
272 272
     public function getStory($storyid)
273 273
     {
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
     /**
358 358
      * @param string $format
359 359
      *
360
-     * @return mixed
360
+     * @return string
361 361
      */
362 362
     public function title($format = "Show")
363 363
     {
Please login to merge, or discard this patch.
htdocs/class/xoopstopic.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param $topicid
83
+     * @param integer $topicid
84 84
      */
85 85
     public function getTopic($topicid)
86 86
     {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * @param string $format
231 231
      *
232
-     * @return mixed
232
+     * @return string
233 233
      */
234 234
     public function topic_title($format = "S")
235 235
     {
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
     /**
252 252
      * @param string $format
253 253
      *
254
-     * @return mixed
254
+     * @return string
255 255
      */
256 256
     public function topic_imgurl($format = "S")
257 257
     {
Please login to merge, or discard this patch.