Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
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/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.
class/files/templates/user/TemplatesUserSubmit.php 1 patch
Doc Comments   +4 added lines, -3 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
     {
@@ -100,7 +101,7 @@  discard block
 block discarded – undo
100 101
     */
101 102
     /**
102 103
      * @param $moduleDirname
103
-     * @param $language
104
+     * @param string $language
104 105
      *
105 106
      * @return string
106 107
      */
@@ -150,7 +151,7 @@  discard block
 block discarded – undo
150 151
     /**
151 152
      * @param $filename
152 153
      *
153
-     * @return bool|string
154
+     * @return null|string
154 155
      */
155 156
     public function render()
156 157
     {
Please login to merge, or discard this patch.
class/files/user/UserBroken.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
      *  @param $filename
64 64
      */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
-     * @param $filename
68
+     * @param string $filename
69 69
      */
70 70
     public function write($module, $table, $filename)
71 71
     {
@@ -194,6 +194,10 @@  discard block
 block discarded – undo
194 194
       *
195 195
       * @return
196 196
       */
197
+
198
+    /**
199
+     * @param string $language
200
+     */
197 201
     private function getUserBrokenSwitch($moduleDirname, $tableName, $tableAutoincrement, $language)
198 202
     {
199 203
         $xc = TDMCreateXoopsCode::getInstance();
@@ -212,7 +216,7 @@  discard block
 block discarded – undo
212 216
      *  @param null
213 217
      */
214 218
     /**
215
-     * @return bool|string
219
+     * @return null|string
216 220
      */
217 221
     public function render()
218 222
     {
Please login to merge, or discard this patch.
class/files/user/UserIndex.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
     *  @param string $filename
63 63
     */
64 64
     /**
65
-     * @param $module
66
-     * @param $filename
65
+     * @param string $module
66
+     * @param string $filename
67 67
      */
68 68
     public function write($module, $table, $filename)
69 69
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * @private function getBodyPagesIndex
157 157
      *
158 158
      * @param $moduleDirname
159
-     * @param $language
159
+     * @param string $language
160 160
      *
161 161
      * @return string
162 162
      */
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      *
217 217
      * @param $moduleDirname
218 218
      * @param $tableName
219
-     * @param $language
219
+     * @param string $language
220 220
      *
221 221
      * @return string
222 222
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     *  @param null
247 247
     */
248 248
     /**
249
-     * @return bool|string
249
+     * @return null|string
250 250
      */
251 251
     public function render()
252 252
     {
Please login to merge, or discard this patch.