Completed
Push — master ( a041ab...7e66c0 )
by Gino
04:49 queued 01:03
created
class/files/TDMCreateStructure.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * @protected function getUploadPath
90 90
      *
91
-     * @param string $path
92 91
      *
93 92
      * @return string $path
94 93
      */
@@ -192,7 +191,7 @@  discard block
 block discarded – undo
192 191
      *
193 192
      *  @param string $dir
194 193
      *
195
-     * @return string
194
+     * @return boolean
196 195
      */
197 196
     public function isDirEmpty($dir)
198 197
     {
Please login to merge, or discard this patch.
class/files/TDMCreateXoopsCode.php 1 patch
Doc Comments   +40 added lines, -5 removed lines patch added patch discarded remove patch
@@ -72,6 +72,10 @@  discard block
 block discarded – undo
72 72
     *
73 73
     *  @return string
74 74
     */
75
+
76
+    /**
77
+     * @param boolean|string $interlock
78
+     */
75 79
     public function getXcEqualsOperator($var, $value, $interlock = null, $ref = false, $t = '')
76 80
     {
77 81
         if (false === $ref) {
@@ -118,7 +122,7 @@  discard block
 block discarded – undo
118 122
     /**
119 123
      *  @public function getXcLoadLanguage
120 124
      *
121
-     *  @param $lang
125
+     *  @param string $lang
122 126
      *
123 127
      *  @return string
124 128
      */
@@ -136,6 +140,12 @@  discard block
 block discarded – undo
136 140
     *
137 141
     *  @return string
138 142
     */
143
+
144
+    /**
145
+     * @param string $anchor
146
+     * @param string $name
147
+     * @param string $vars
148
+     */
139 149
     public function getXcAnchorFunction($anchor, $name, $vars, $close = false)
140 150
     {
141 151
         $semicolon = $close !== false ? ';' : '';
@@ -213,6 +223,11 @@  discard block
 block discarded – undo
213 223
     *
214 224
     *  @return string
215 225
     */
226
+
227
+    /**
228
+     * @param string $param2
229
+     * @param string $param3
230
+     */
216 231
     public function getXcGetGroupIds($var = '', $anchor = '', $param1 = null, $param2 = null, $param3 = null, $t = '')
217 232
     {
218 233
         return "{$t}\${$var} = \${$anchor}->getGroupIds({$param1}, {$param2}, {$param3});\n";
@@ -227,6 +242,11 @@  discard block
 block discarded – undo
227 242
     *
228 243
     *  @return string
229 244
     */
245
+
246
+    /**
247
+     * @param string $param2
248
+     * @param string $param3
249
+     */
230 250
     public function getXcGetItemIds($var = '', $anchor = '', $param1 = null, $param2 = null, $param3 = null, $t = '')
231 251
     {
232 252
         return "{$t}\${$var} = \${$anchor}->getItemIds({$param1}, {$param2}, {$param3});\n";
@@ -261,6 +281,10 @@  discard block
 block discarded – undo
261 281
     *  @param $moduleDirname
262 282
     *  @return string
263 283
     */
284
+
285
+    /**
286
+     * @param string $dirPath
287
+     */
264 288
     public function getXcMediaUploader($var = '', $dirPath, $moduleDirname, $t = '')
265 289
     {
266 290
         $mimetypes = self::getXcGetConfig($moduleDirname, 'mimetypes');
@@ -301,6 +325,11 @@  discard block
 block discarded – undo
301 325
     *
302 326
     *  @return string
303 327
     */
328
+
329
+    /**
330
+     * @param string $return
331
+     * @param string $var
332
+     */
304 333
     public function getXcXoopsImgListArray($return, $var, $t = '')
305 334
     {
306 335
         return "{$t}\${$return} = XoopsLists::getImgListAsArray( {$var} );\n";
@@ -312,6 +341,10 @@  discard block
 block discarded – undo
312 341
     *  @param $name
313 342
     *  @return string
314 343
     */
344
+
345
+    /**
346
+     * @param string $name
347
+     */
315 348
     public function getXcGetConfig($moduleDirname, $name)
316 349
     {
317 350
         return "\${$moduleDirname}->getConfig('{$name}')";
@@ -810,7 +843,7 @@  discard block
 block discarded – undo
810 843
      *  @public function getXcGetInfo
811 844
      *
812 845
      *  @param $left
813
-     *  @param $string
846
+     *  @param string $string
814 847
      *  @param $isParam
815 848
      *
816 849
      *  @return string
@@ -829,7 +862,7 @@  discard block
 block discarded – undo
829 862
     /**
830 863
      *  @public function getXcAddRight
831 864
      *
832
-     *  @param $anchor
865
+     *  @param string $anchor
833 866
      *  @param $permString
834 867
      *  @param $var
835 868
      *  @param $groups
@@ -852,7 +885,7 @@  discard block
 block discarded – undo
852 885
     /**
853 886
      *  @public function getXcCheckRight
854 887
      *
855
-     *  @param $anchor
888
+     *  @param string $anchor
856 889
      *  @param $permString
857 890
      *  @param $var
858 891
      *  @param $groups
@@ -903,6 +936,7 @@  discard block
 block discarded – undo
903 936
      *  @public function getXcClearCount
904 937
      *
905 938
      *  @param $tableName
939
+     * @param string $left
906 940
      *
907 941
      *  @return string
908 942
      */
@@ -940,6 +974,7 @@  discard block
 block discarded – undo
940 974
      *  @param $fieldMain
941 975
      *  @param $start
942 976
      *  @param $limit
977
+     * @param string $left
943 978
      *
944 979
      *  @return string
945 980
      */
@@ -1156,7 +1191,7 @@  discard block
 block discarded – undo
1156 1191
     /**
1157 1192
      *  @public function getXcObjHandlerCount
1158 1193
      *
1159
-     *  @param $left
1194
+     *  @param string $left
1160 1195
      *  @param $tableName
1161 1196
      *  @param $obj
1162 1197
      *
Please login to merge, or discard this patch.
class/files/templates/blocks/TemplatesBlocks.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
     *  @param string $table
63 63
     */
64 64
     /**
65
-     * @param $module
65
+     * @param string $module
66 66
      * @param $table
67
-     * @param $filename
67
+     * @param string $filename
68 68
      */
69 69
     public function write($module, $table, $filename)
70 70
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * @param $moduleDirname
84 84
      * @param $table
85
-     * @param $language
85
+     * @param string $language
86 86
      *
87 87
      * @return string
88 88
      */
@@ -109,9 +109,10 @@  discard block
 block discarded – undo
109 109
     *  @param string $language
110 110
     */
111 111
     /**
112
-     * @param $moduleDirname
112
+     * @param string $moduleDirname
113 113
      * @param $table
114
-     * @param $language
114
+     * @param string $language
115
+     * @param string $tableName
115 116
      *
116 117
      * @return string
117 118
      */
@@ -232,7 +233,7 @@  discard block
 block discarded – undo
232 233
     /**
233 234
      * @param null
234 235
      *
235
-     * @return bool|string
236
+     * @return null|string
236 237
      */
237 238
     public function render()
238 239
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserBroken.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,8 +63,9 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
+     * @param string $filename
68 69
      */
69 70
     public function write($module, $table, $filename)
70 71
     {
@@ -98,7 +99,7 @@  discard block
 block discarded – undo
98 99
     /**
99 100
      * @param $moduleDirname
100 101
      * @param $table
101
-     * @param $language
102
+     * @param string $language
102 103
      *
103 104
      * @return string
104 105
      */
@@ -129,7 +130,7 @@  discard block
 block discarded – undo
129 130
     /**
130 131
      * @param $moduleDirname
131 132
      * @param $table
132
-     * @param $language
133
+     * @param string $language
133 134
      *
134 135
      * @return string
135 136
      */
@@ -191,7 +192,7 @@  discard block
 block discarded – undo
191 192
     /**
192 193
      * @param $filename
193 194
      *
194
-     * @return bool|string
195
+     * @return null|string
195 196
      */
196 197
     public function render()
197 198
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserHeader.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
     *  @param string $filename
71 71
     */
72 72
     /**
73
-     * @param $module
73
+     * @param string $module
74 74
      * @param $tables
75
-     * @param $filename
75
+     * @param string $filename
76 76
      */
77 77
     public function write($module, $filename)
78 78
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     *  @param null
86 86
     */
87 87
     /**
88
-     * @return bool|string
88
+     * @return string
89 89
      */
90 90
     public function getTemplatesUserHeader($moduleDirname)
91 91
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserIndex.php 1 patch
Doc Comments   +10 added lines, -7 removed lines patch added patch discarded remove patch
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * @public function write
66 66
      *
67
-     * @param $module
67
+     * @param string $module
68 68
      * @param $table
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $table, $tables, $filename)
72 72
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     *  @param $moduleDirname
82 82
     */
83 83
     /**
84
-     * @return bool|string
84
+     * @return string
85 85
      */
86 86
     public function getTemplateUserIndexHeader($moduleDirname)
87 87
     {
@@ -185,7 +185,8 @@  discard block
 block discarded – undo
185 185
     *  @param null
186 186
     */
187 187
     /**
188
-     * @return bool|string
188
+     * @param string $language
189
+     * @return string
189 190
      */
190 191
     public function getTemplatesUserIndexBodyDefault($module, $table, $language)
191 192
     {
@@ -238,7 +239,8 @@  discard block
 block discarded – undo
238 239
     *  @param null
239 240
     */
240 241
     /**
241
-     * @return bool|string
242
+     * @param string $language
243
+     * @return string
242 244
      */
243 245
     public function getTemplateUserIndexCategories($moduleDirname, $tableName, $tableSoleName, $language)
244 246
     {
@@ -288,6 +290,7 @@  discard block
 block discarded – undo
288 290
     *  @param null
289 291
     */
290 292
     /**
293
+     * @param string $language
291 294
      * @return bool|string
292 295
      */
293 296
     public function getTemplateUserIndexTable($moduleDirname, $tableName, $tableSoleName, $language)
@@ -322,7 +325,7 @@  discard block
 block discarded – undo
322 325
     *  @param $moduleDirname
323 326
     */
324 327
     /**
325
-     * @return bool|string
328
+     * @return string
326 329
      */
327 330
     public function getTemplateUserIndexFooter($moduleDirname)
328 331
     {
@@ -336,7 +339,7 @@  discard block
 block discarded – undo
336 339
     *  @param null
337 340
     */
338 341
     /**
339
-     * @return bool|string
342
+     * @return null|string
340 343
      */
341 344
     public function render()
342 345
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPages.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -63,8 +63,9 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
+     * @param string $filename
68 69
      */
69 70
     public function write($module, $table, $filename)
70 71
     {
@@ -113,7 +114,8 @@  discard block
 block discarded – undo
113 114
     *  @param string $language
114 115
     */
115 116
     /**
116
-     * @param $language
117
+     * @param string $language
118
+     * @param string $tableName
117 119
      *
118 120
      * @return string
119 121
      */
@@ -136,9 +138,10 @@  discard block
 block discarded – undo
136 138
     *  @param string $language
137 139
     */
138 140
     /**
139
-     * @param $moduleDirname
141
+     * @param string $moduleDirname
140 142
      * @param $table
141
-     * @param $language
143
+     * @param string $language
144
+     * @param string $tableName
142 145
      *
143 146
      * @return string
144 147
      */
@@ -184,7 +187,7 @@  discard block
 block discarded – undo
184 187
     *  @param string $language
185 188
     */
186 189
     /**
187
-     * @param $language
190
+     * @param string $language
188 191
      *
189 192
      * @return string
190 193
      */
@@ -220,7 +223,7 @@  discard block
 block discarded – undo
220 223
     /**
221 224
      * @param null
222 225
      *
223
-     * @return bool|string
226
+     * @return null|string
224 227
      */
225 228
     public function render()
226 229
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserRate.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,8 +63,9 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
+     * @param string $filename
68 69
      */
69 70
     public function write($module, $table, $filename)
70 71
     {
@@ -82,7 +83,7 @@  discard block
 block discarded – undo
82 83
     /**
83 84
      * @param $moduleDirname
84 85
      * @param $table
85
-     * @param $language
86
+     * @param string $language
86 87
      *
87 88
      * @return string
88 89
      */
@@ -121,7 +122,7 @@  discard block
 block discarded – undo
121 122
     /**
122 123
      * @param $moduleDirname
123 124
      * @param $table
124
-     * @param $language
125
+     * @param string $language
125 126
      *
126 127
      * @return string
127 128
      */
@@ -182,7 +183,7 @@  discard block
 block discarded – undo
182 183
     /**
183 184
      * @param $moduleDirname
184 185
      * @param $table
185
-     * @param $language
186
+     * @param string $language
186 187
      *
187 188
      * @return string
188 189
      */
@@ -253,7 +254,7 @@  discard block
 block discarded – undo
253 254
     /**
254 255
      * @param $filename
255 256
      *
256
-     * @return bool|string
257
+     * @return null|string
257 258
      */
258 259
     public function render()
259 260
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserRss.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,9 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
+     * @param string $filename
68 69
      */
69 70
     public function write($module, $filename)
70 71
     {
@@ -133,7 +134,7 @@  discard block
 block discarded – undo
133 134
     /**
134 135
      * @param null
135 136
      *
136
-     * @return bool|string
137
+     * @return null|string
137 138
      */
138 139
     public function render()
139 140
     {
Please login to merge, or discard this patch.