Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
class/files/include/IncludeComments.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     *  @param mixed $table
63 63
     */
64 64
     /**
65
-     * @param $module
65
+     * @param string $module
66 66
      * @param $table
67 67
      */
68 68
     public function write($module, $table)
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     *  @param string $filename
78 78
     */
79 79
     /**
80
-     * @param $module
81
-     * @param $filename
80
+     * @param string $module
81
+     * @param string $filename
82 82
      *
83 83
      * @return bool|string
84 84
      */
@@ -101,10 +101,10 @@  discard block
 block discarded – undo
101 101
     *  @param string $filename
102 102
     */
103 103
     /**
104
-     * @param $module
105
-     * @param $filename
104
+     * @param string $module
105
+     * @param string $filename
106 106
      *
107
-     * @return bool|string
107
+     * @return null|string
108 108
      */
109 109
     public function renderCommentsNew($module, $filename)
110 110
     {
Please login to merge, or discard this patch.
class/files/language/LanguageDefines.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     *  @param string $string
101 101
     */
102 102
     /**
103
-     * @param $string
103
+     * @param string $string
104 104
      *
105 105
      * @return string
106 106
      */
Please login to merge, or discard this patch.
class/files/language/LanguageMain.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     *  @param string $filename
65 65
     */
66 66
     /**
67
-     * @param $module
67
+     * @param string $module
68 68
      * @param $tables
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $tables, $filename)
72 72
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     */
83 83
     /**
84 84
      * @param $module
85
-     * @param $language
85
+     * @param string $language
86 86
      *
87 87
      * @return string
88 88
      */
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     *  @param string $language
142 142
     */
143 143
     /**
144
-     * @param $language
144
+     * @param string $language
145 145
      *
146 146
      * @return string
147 147
      */
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     *  @param null
160 160
     */
161 161
     /**
162
-     * @return bool|string
162
+     * @return null|string
163 163
      */
164 164
     public function render()
165 165
     {
Please login to merge, or discard this patch.
class/files/language/LanguageModinfo.php 2 patches
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      *  @public function write    
61 61
      *
62
-     * @param $module
62
+     * @param string $module
63 63
      * @param $table
64
-     * @param $filename
64
+     * @param string $filename
65 65
      *
66 66
      * @return string
67 67
      */
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * @private function getLanguageMain     
77 77
      *
78
-     * @param $language
78
+     * @param string $language
79 79
      * @param $module
80 80
      *
81 81
      * @return string
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      * @private function getLanguageMenu
95 95
      *
96 96
      * @param $module
97
-     * @param $language     
97
+     * @param string $language     
98 98
      *
99 99
      * @return string
100 100
      */
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     *  @param $language
128 128
     */
129 129
     /**
130
-     * @param $language
130
+     * @param string $language
131 131
      *
132 132
      * @return string
133 133
      */
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     *  @param array $tables
148 148
     */
149 149
     /**
150
-     * @param $language
150
+     * @param string $language
151 151
      * @param $tables
152 152
      *
153 153
      * @return string
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     *  @param array $tables
181 181
     */
182 182
     /**
183
-     * @param $language
183
+     * @param string $language
184 184
      * @param $tables
185 185
      *
186 186
      * @return string
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     *  @param $language
227 227
     */
228 228
     /**
229
-     * @param $language
229
+     * @param string $language
230 230
      *
231 231
      * @return string
232 232
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     *  @param $table
247 247
     */
248 248
     /**
249
-     * @param $language
249
+     * @param string $language
250 250
      * @param $table
251 251
      *
252 252
      * @return string
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     *  @param mixed $table
307 307
     */
308 308
     /**
309
-     * @param $language
309
+     * @param string $language
310 310
      *
311 311
      * @return string
312 312
      */
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
     *  @param $language
331 331
     */
332 332
     /**
333
-     * @param $language
333
+     * @param string $language
334 334
      *
335 335
      * @return string
336 336
      */
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
     *  @param null
367 367
     */
368 368
     /**
369
-     * @return bool|string
369
+     * @return null|string
370 370
      */
371 371
     public function render()
372 372
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
             }
293 293
         }
294 294
         $getDefinesConf = array('NUMB_COL' => 'Number Columns', 'NUMB_COL_DESC' => 'Number Columns to View.', 'DIVIDEBY' => 'Divide By', 'DIVIDEBY_DESC' => 'Divide by columns number.',
295
-                                'TABLE_TYPE' => 'Table Type', 'TABLE_TYPE_DESC' => 'Table Type is the bootstrap html table.', 'PANEL_TYPE' => 'Panel Type', 'PANEL_TYPE_DESC' => 'Panel Type is the bootstrap html div.', 'IDPAYPAL' => 'Paypal ID', 'IDPAYPAL_DESC' => 'Insert here your PayPal ID for donactions.', 'ADVERTISE' => 'Advertisement Code', 'ADVERTISE_DESC' => 'Insert here the advertisement code', 'MAINTAINEDBY' => 'Maintained By', 'MAINTAINEDBY_DESC' => 'Allow url of support site or community', 'BOOKMARKS' => 'Social Bookmarks', 'BOOKMARKS_DESC' => 'Show Social Bookmarks in the single page', 'FACEBOOK_COMMENTS' => 'Facebook comments', 'FACEBOOK_COMMENTS_DESC' => 'Allow Facebook comments in the single page', 'DISQUS_COMMENTS' => 'Disqus comments', 'DISQUS_COMMENTS_DESC' => 'Allow Disqus comments in the single page', );
295
+                                'TABLE_TYPE' => 'Table Type', 'TABLE_TYPE_DESC' => 'Table Type is the bootstrap html table.', 'PANEL_TYPE' => 'Panel Type', 'PANEL_TYPE_DESC' => 'Panel Type is the bootstrap html div.', 'IDPAYPAL' => 'Paypal ID', 'IDPAYPAL_DESC' => 'Insert here your PayPal ID for donactions.', 'ADVERTISE' => 'Advertisement Code', 'ADVERTISE_DESC' => 'Insert here the advertisement code', 'MAINTAINEDBY' => 'Maintained By', 'MAINTAINEDBY_DESC' => 'Allow url of support site or community', 'BOOKMARKS' => 'Social Bookmarks', 'BOOKMARKS_DESC' => 'Show Social Bookmarks in the single page', 'FACEBOOK_COMMENTS' => 'Facebook comments', 'FACEBOOK_COMMENTS_DESC' => 'Allow Facebook comments in the single page', 'DISQUS_COMMENTS' => 'Disqus comments', 'DISQUS_COMMENTS_DESC' => 'Allow Disqus comments in the single page',);
296 296
         foreach ($getDefinesConf as $defc => $descc) {
297 297
             $ret .= $df->getDefine($language, $defc, $descc);
298 298
         }
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
         $stuTableSoleName = strtoupper($tableSoleName);
318 318
         $ucfTableSoleName = ucfirst($tableSoleName);
319 319
         $getDefinesNotif = array('GLOBAL_NOTIFY' => 'Global notify', 'GLOBAL_NOTIFY_DESC' => 'Global notify desc', 'CATEGORY_NOTIFY' => 'Category notify',
320
-                                'CATEGORY_NOTIFY_DESC' => 'Category notify desc', $stuTableSoleName.'_NOTIFY' => $ucfTableSoleName.' notify', $stuTableSoleName.'_NOTIFY_DESC' => $ucfTableSoleName.' notify desc', 'GLOBAL_NEWCATEGORY_NOTIFY' => 'Global newcategory notify', 'GLOBAL_NEWCATEGORY_NOTIFY_CAPTION' => 'Global newcategory notify caption', 'GLOBAL_NEWCATEGORY_NOTIFY_DESC' => 'Global newcategory notify desc', 'GLOBAL_NEWCATEGORY_NOTIFY_SUBJECT' => 'Global newcategory notify subject', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY' => 'Global '.$tableSoleName.'modify notify', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY_CAPTION' => 'Global '.$tableSoleName.' modify notify caption', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY_DESC' => 'Global '.$tableSoleName.'modify notify desc', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY_SUBJECT' => 'Global '.$tableSoleName.' modify notify subject', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY' => 'Global '.$tableSoleName.' broken notify', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY_CAPTION' => 'Global '.$tableSoleName.'broken notify caption', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY_DESC' => 'Global '.$tableSoleName.'broken notify desc', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY_SUBJECT' => 'Global '.$tableSoleName.'broken notify subject', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY' => 'Global '.$tableSoleName.' submit notify', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY_CAPTION' => 'Global '.$tableSoleName.' submit notify caption', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY_DESC' => 'Global '.$tableSoleName.'submit notify desc', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY_SUBJECT' => 'Global '.$tableSoleName.'submit notify subject', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY' => 'Global new'.$tableSoleName.' notify', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY_CAPTION' => 'Global new'.$tableSoleName.' notify caption', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY_DESC' => 'Global new'.$tableSoleName.' notify desc', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY_SUBJECT' => 'Global new'.$tableSoleName.' notify subject', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY' => 'Category '.$tableSoleName.'submit notify', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY_CAPTION' => 'Category '.$tableSoleName.' submit notify caption', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY_DESC' => 'Category '.$tableSoleName.' submit notify desc', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY_SUBJECT' => 'Category '.$tableSoleName.' submit notify subject', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY' => 'Category new'.$tableSoleName.' notify', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY_CAPTION' => 'Category new'.$tableSoleName.' notify caption', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY_DESC' => 'Category new'.$tableSoleName.' notify desc', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY_SUBJECT' => 'Category new'.$tableSoleName.' notify subject', $stuTableSoleName.'_APPROVE_NOTIFY' => $ucfTableSoleName.' approve notify', $stuTableSoleName.'_APPROVE_NOTIFY_CAPTION' => $ucfTableSoleName.' approve notify caption', $stuTableSoleName.'_APPROVE_NOTIFY_DESC' => $ucfTableSoleName.' approve notify desc', $stuTableSoleName.'_APPROVE_NOTIFY_SUBJECT' => $ucfTableSoleName.' approve notify subject', );
320
+                                'CATEGORY_NOTIFY_DESC' => 'Category notify desc', $stuTableSoleName.'_NOTIFY' => $ucfTableSoleName.' notify', $stuTableSoleName.'_NOTIFY_DESC' => $ucfTableSoleName.' notify desc', 'GLOBAL_NEWCATEGORY_NOTIFY' => 'Global newcategory notify', 'GLOBAL_NEWCATEGORY_NOTIFY_CAPTION' => 'Global newcategory notify caption', 'GLOBAL_NEWCATEGORY_NOTIFY_DESC' => 'Global newcategory notify desc', 'GLOBAL_NEWCATEGORY_NOTIFY_SUBJECT' => 'Global newcategory notify subject', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY' => 'Global '.$tableSoleName.'modify notify', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY_CAPTION' => 'Global '.$tableSoleName.' modify notify caption', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY_DESC' => 'Global '.$tableSoleName.'modify notify desc', 'GLOBAL_'.$stuTableSoleName.'MODIFY_NOTIFY_SUBJECT' => 'Global '.$tableSoleName.' modify notify subject', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY' => 'Global '.$tableSoleName.' broken notify', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY_CAPTION' => 'Global '.$tableSoleName.'broken notify caption', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY_DESC' => 'Global '.$tableSoleName.'broken notify desc', 'GLOBAL_'.$stuTableSoleName.'BROKEN_NOTIFY_SUBJECT' => 'Global '.$tableSoleName.'broken notify subject', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY' => 'Global '.$tableSoleName.' submit notify', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY_CAPTION' => 'Global '.$tableSoleName.' submit notify caption', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY_DESC' => 'Global '.$tableSoleName.'submit notify desc', 'GLOBAL_'.$stuTableSoleName.'SUBMIT_NOTIFY_SUBJECT' => 'Global '.$tableSoleName.'submit notify subject', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY' => 'Global new'.$tableSoleName.' notify', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY_CAPTION' => 'Global new'.$tableSoleName.' notify caption', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY_DESC' => 'Global new'.$tableSoleName.' notify desc', 'GLOBAL_NEW'.$stuTableSoleName.'_NOTIFY_SUBJECT' => 'Global new'.$tableSoleName.' notify subject', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY' => 'Category '.$tableSoleName.'submit notify', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY_CAPTION' => 'Category '.$tableSoleName.' submit notify caption', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY_DESC' => 'Category '.$tableSoleName.' submit notify desc', 'CATEGORY_'.$stuTableSoleName.'SUBMIT_NOTIFY_SUBJECT' => 'Category '.$tableSoleName.' submit notify subject', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY' => 'Category new'.$tableSoleName.' notify', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY_CAPTION' => 'Category new'.$tableSoleName.' notify caption', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY_DESC' => 'Category new'.$tableSoleName.' notify desc', 'CATEGORY_NEW'.$stuTableSoleName.'_NOTIFY_SUBJECT' => 'Category new'.$tableSoleName.' notify subject', $stuTableSoleName.'_APPROVE_NOTIFY' => $ucfTableSoleName.' approve notify', $stuTableSoleName.'_APPROVE_NOTIFY_CAPTION' => $ucfTableSoleName.' approve notify caption', $stuTableSoleName.'_APPROVE_NOTIFY_DESC' => $ucfTableSoleName.' approve notify desc', $stuTableSoleName.'_APPROVE_NOTIFY_SUBJECT' => $ucfTableSoleName.' approve notify subject',);
321 321
         foreach ($getDefinesNotif as $defn => $descn) {
322 322
             $ret .= $df->getDefine($language, $defn, $descn);
323 323
         }
Please login to merge, or discard this patch.
class/files/TDMCreatePhpCode.php 1 patch
Doc Comments   +60 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,6 +111,10 @@  discard block
 block discarded – undo
111 111
     *
112 112
     *  @return string
113 113
     */
114
+
115
+    /**
116
+     * @param string $var
117
+     */
114 118
     public function getPhpCodeGlobals($var, $value = '')
115 119
     {
116 120
         if ($value != '') {
@@ -129,6 +133,10 @@  discard block
 block discarded – undo
129 133
     *
130 134
     *  @return string
131 135
     */
136
+
137
+    /**
138
+     * @param string $var
139
+     */
132 140
     public function getPhpCodeGlobalsVariables($var = null, $type = 'REQUEST')
133 141
     {
134 142
         $type = strtoupper($type);
@@ -165,6 +173,10 @@  discard block
 block discarded – undo
165 173
      *
166 174
      * @return string
167 175
      */
176
+
177
+    /**
178
+     * @param string $string
179
+     */
168 180
     public function getPhpCodeRemoveCarriageReturn($string, $n = "\n", $t = "\r")
169 181
     {
170 182
         return str_replace(array("{$n}", "{$t}"), '', $string);
@@ -190,6 +202,10 @@  discard block
 block discarded – undo
190 202
     *
191 203
     *  @return string
192 204
     */
205
+
206
+    /**
207
+     * @param string $filename
208
+     */
193 209
     public function getPhpCodeIncludeDir($directory = null, $filename = null, $once = false, $isPath = false, $type = 'include', $t = '')
194 210
     {
195 211
         if ($type === '') {
@@ -236,6 +252,11 @@  discard block
 block discarded – undo
236 252
     *
237 253
     *  @return string
238 254
     */
255
+
256
+    /**
257
+     * @param string $content
258
+     * @param string $extends
259
+     */
239 260
     public function getPhpCodeClass($name = null, $content = null, $extends = null, $type = null)
240 261
     {
241 262
         $typ = ($type != null) ? "{$type} " : '';
@@ -257,6 +278,10 @@  discard block
 block discarded – undo
257 278
     *
258 279
     *  @return string
259 280
     */
281
+
282
+    /**
283
+     * @param string $name
284
+     */
260 285
     public function getPhpCodeVariableClass($type = 'private', $name = null, $assign = 'null', $t = '')
261 286
     {
262 287
         return "{$t}{$type} \${$name} = {$assign};\n";
@@ -272,6 +297,10 @@  discard block
 block discarded – undo
272 297
     *
273 298
     *  @return string
274 299
     */
300
+
301
+    /**
302
+     * @param string $method
303
+     */
275 304
     public function getPhpCodeFunction($name = null, $params = null, $content = null, $method = null, $isRef = false, $t = '')
276 305
     {
277 306
         $inClass = ($method != null) ? $method : '';
@@ -382,8 +411,8 @@  discard block
 block discarded – undo
382 411
     /**
383 412
      *  @public function getPhpCodeSwitch
384 413
      *
385
-     *  @param $op
386
-     *  @param $content
414
+     *  @param string $op
415
+     *  @param string $content
387 416
      *  @param $t
388 417
      *
389 418
      *  @return string
@@ -441,6 +470,10 @@  discard block
 block discarded – undo
441 470
     *  @param $var
442 471
     *  @return string
443 472
     */
473
+
474
+    /**
475
+     * @param string $var
476
+     */
444 477
     public function getPhpCodeIsset($var)
445 478
     {
446 479
         return "isset(\${$var})";
@@ -461,6 +494,10 @@  discard block
 block discarded – undo
461 494
     *  @param $var
462 495
     *  @return string
463 496
     */
497
+
498
+    /**
499
+     * @param string $var
500
+     */
464 501
     public function getPhpCodeIsDir($var)
465 502
     {
466 503
         return "is_dir({$var})";
@@ -472,6 +509,11 @@  discard block
 block discarded – undo
472 509
     *  @param $right
473 510
     *  @return string
474 511
     */
512
+
513
+    /**
514
+     * @param string $left
515
+     * @param string $right
516
+     */
475 517
     public function getPhpCodeImplode($left, $right)
476 518
     {
477 519
         return "implode('{$left}', {$right})";
@@ -516,6 +558,10 @@  discard block
 block discarded – undo
516 558
     *  @param $newfile
517 559
     *  @return string
518 560
     */
561
+
562
+    /**
563
+     * @param string $file
564
+     */
519 565
     public function getPhpCodeCopy($file, $newfile = '', $t = '')
520 566
     {
521 567
         return "{$t}copy({$file}, {$newfile});\n";
@@ -565,6 +611,11 @@  discard block
 block discarded – undo
565 611
     *
566 612
     *  @return string
567 613
     */
614
+
615
+    /**
616
+     * @param string $type
617
+     * @param string $right
618
+     */
568 619
     public function getPhpCodeArrayType($var, $type, $left, $right = null, $isParam = false, $t = "\t\t")
569 620
     {
570 621
         $vars = ($right != null) ? "\${$left}, {$right}" : "\${$left}";
@@ -629,6 +680,13 @@  discard block
 block discarded – undo
629 680
     *
630 681
     *  @return string
631 682
     */
683
+
684
+    /**
685
+     * @param string $var
686
+     * @param string $exp
687
+     * @param string $str
688
+     * @param string $val
689
+     */
632 690
     public function getPhpCodePregFunzions($var, $exp = null, $str, $val, $type = 'match', $isParam = false, $t = "\t")
633 691
     {
634 692
         $pregFunz = "preg_{$type}('";
Please login to merge, or discard this patch.
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 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             $fieldName = $fields[$f]->getVar('field_name');
96 96
             $stuFieldName = strtoupper($fieldName);
97 97
             $lang = $hc->getSmartyConst($language, $stuFieldName);
98
-            $th    .= $hc->getHtmlTableHead($lang, 'center').PHP_EOL;
98
+            $th .= $hc->getHtmlTableHead($lang, 'center').PHP_EOL;
99 99
         }
100 100
         $tr = $hc->getHtmlTableRow($th, 'head').PHP_EOL;
101 101
 
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.