Completed
Pull Request — master (#136)
by Michael
02:53
created
class/fields.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * @private function getFormNewLine
164 164
      *
165
-     * @param $form
166
-     * @param $class
167
-     * @param $i
165
+     * @param TDMCreateThemeForm $form
166
+     * @param string $class
167
+     * @param integer $i
168 168
      * @param $fieldMid
169 169
      * @param $fieldTid
170 170
      * @param $fName
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
     /**
449 449
      * @private function getFooterForm
450 450
      *
451
-     * @param $form
451
+     * @param TDMCreateThemeForm $form
452 452
      *
453 453
      * @return mixed
454 454
      */
@@ -602,10 +602,10 @@  discard block
 block discarded – undo
602 602
     /**
603 603
      * Get Fields Criteria.
604 604
      * @param $crFields
605
-     * @param $start
606
-     * @param $limit
607
-     * @param $sort
608
-     * @param $order
605
+     * @param integer $start
606
+     * @param integer $limit
607
+     * @param string $sort
608
+     * @param string $order
609 609
      * @return
610 610
      */
611 611
     private function getFieldsCriteria($crFields, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@
 block discarded – undo
325 325
         $id = 1;
326 326
         foreach ($fields as $field) {
327 327
             $class = ('even' === $class) ? 'odd' : 'even';
328
-            $fieldId = (int)$field->getVar('field_id');
328
+            $fieldId = (int) $field->getVar('field_id');
329 329
             if ($id > $fieldNumb) {   // delete additional fields, if number of fields is reduced - goffy
330 330
                 $fieldsObj = &$tdmcreate->getHandler('fields')->get($fieldId);
331 331
                 $tdmcreate->getHandler('fields')->delete($fieldsObj, true);
Please login to merge, or discard this patch.
class/files/admin/AdminPages.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @public function write
58
-     * @param $module
58
+     * @param string $module
59 59
      * @param $table
60
-     * @param $filename
60
+     * @param string $filename
61 61
      */
62 62
     public function write($module, $table, $filename)
63 63
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @private  function getAdminPagesList
106 106
      * @param        $moduleDirname
107 107
      * @param        $table
108
-     * @param        $language
108
+     * @param        string $language
109 109
      * @param        $fields
110 110
      * @param        $fieldId
111 111
      * @param        $fieldInForm
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * @param        $moduleDirname
163 163
      * @param        $tableName
164 164
      * @param        $fieldInForm
165
-     * @param        $language
165
+     * @param        string $language
166 166
      * @param string $t
167 167
      * @return string
168 168
      */
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
     *  @private function getPermissionsSave
194 194
     *  @param $moduleDirname
195 195
     *  @param $fieldId
196
-    *  @param $ccFieldId
197
-    *  @param $newFieldId
196
+    *  @param string $ccFieldId
197
+    *  @param string $newFieldId
198 198
     *  @param $perm
199 199
     *
200 200
     *  @return string
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @param        $tableName
219 219
      * @param        $tableCategory
220 220
      * @param        $tableSoleName
221
-     * @param        $language
221
+     * @param        string $language
222 222
      * @param        $fields
223 223
      * @param        $fieldId
224 224
      * @param        $fieldMain
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * @private  function getAdminPagesEdit
310 310
      * @param        $moduleDirname
311 311
      * @param        $table
312
-     * @param        $language
312
+     * @param        string $language
313 313
      * @param        $fieldId
314 314
      * @param        $fieldInForm
315 315
      * @param string $t
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     /**
351 351
      * @private function getAdminPagesDelete
352 352
      * @param        $tableName
353
-     * @param        $language
353
+     * @param        string $language
354 354
      * @param        $fieldId
355 355
      * @param        $fieldMain
356 356
      * @param string $t
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      * @public function render
368 368
      * @param null
369 369
      *
370
-     * @return bool|string
370
+     * @return null|string
371 371
      */
372 372
     public function render()
373 373
     {
Please login to merge, or discard this patch.
class/files/sql/SqlFile.php 2 patches
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      *  @public function write
59 59
      *
60
-     *  @param $module
61
-     *  @param $filename
60
+     *  @param string $module
61
+     *  @param string $filename
62 62
      */
63 63
     public function write($module, $filename)
64 64
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * @private function getHeaderSqlComments
71 71
      *
72
-     * @param $moduleName
72
+     * @param string $moduleName
73 73
      *
74 74
      * @return string
75 75
      */
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * @private function getDatabaseFields
148 148
      *
149
-     * @param $moduleDirname
149
+     * @param string $moduleDirname
150 150
      * @param $tableMid
151 151
      * @param $tableId
152 152
      * @param $tableName
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      *  @param $fieldAttribute
343 343
      *  @param $fieldNull
344 344
      *  @param $fieldDefault
345
-     *  @param $autoincrement
345
+     *  @param string $autoincrement
346 346
      *
347 347
      *  @return string
348 348
      */
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
      * @private function getKey
370 370
      *
371
-     * @param $key
371
+     * @param integer $key
372 372
      * @param $fieldName
373 373
      * @return string
374 374
      */
@@ -399,8 +399,8 @@  discard block
 block discarded – undo
399 399
     /**
400 400
      *  @private function getComma
401 401
      *
402
-     *  @param $row
403
-     *  @param $comma
402
+     *  @param boolean $row
403
+     *  @param string $comma
404 404
      *
405 405
      *  @return string
406 406
      */
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
      *
438 438
      *  @param null
439 439
      *
440
-     *  @return bool|string
440
+     *  @return null|string
441 441
      */
442 442
     public function render()
443 443
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
         }
309 309
         // ================= COMMA ================= //
310 310
         for ($i = 0; $i < $j; ++$i) {
311
-            if ($i != $j - 1) {
311
+            if ($i != $j-1) {
312 312
                 $row[] = $comma[$i].',';
313 313
             } else {
314 314
                 $row[] = $comma[$i];
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
         $ret = null;
423 423
         // Comma issue
424 424
         for ($i = 1; $i <= $index; ++$i) {
425
-            if ($i != $index - 1) {
425
+            if ($i != $index-1) {
426 426
                 $ret = $this->getComma(isset($comma[$i]), ',')."\n";
427 427
             } else {
428 428
                 $ret = $this->getComma(isset($comma[$i]))."\n";
Please login to merge, or discard this patch.
class/files/TDMCreateFile.php 3 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -116,8 +116,8 @@  discard block
 block discarded – undo
116 116
      * @param $subdir
117 117
      * @param $fileName
118 118
      * @param $content
119
-     * @param $created
120
-     * @param $notCreated
119
+     * @param string $created
120
+     * @param string $notCreated
121 121
      * @param $mode
122 122
      */
123 123
     public function create($moduleDirname, $subdir = null, $fileName = null, $content = '', $created = null, $notCreated = null, $mode = 'w+')
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
     /**
169 169
      * @private function setSubDir
170
-     * @param $subdir
170
+     * @param string $subdir
171 171
      */
172 172
     private function setSubDir($subdir)
173 173
     {
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
     /**
208 208
      * @private function setContent
209
-     * @param $content
209
+     * @param string $content
210 210
      */
211 211
     private function setContent($content)
212 212
     {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 
283 283
     /**
284 284
      * @private function setMode
285
-     * @param $mode
285
+     * @param string $mode
286 286
      */
287 287
     private function setMode($mode)
288 288
     {
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 
377 377
     /**
378 378
      *  @public function getUcfirst
379
-     *  @param $string
379
+     *  @param string $string
380 380
      *
381 381
      * @return string
382 382
      */
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
     /**
389 389
      * @public function getLcfirst
390 390
      *
391
-     * @param $string
391
+     * @param string $string
392 392
      * @return string
393 393
      */
394 394
     public function getLcfirst($string)
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * @private function getDashComment
443 443
      *
444
-     * @param $comment
444
+     * @param string $comment
445 445
      *
446 446
      * @return string
447 447
      */
Please login to merge, or discard this patch.
Indentation   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 class TDMCreateFile extends TDMCreateTableFields
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $xf = null;
34 34
 
35 35
     /**
@@ -54,39 +54,39 @@  discard block
 block discarded – undo
54 54
     private $uploadPath = null;
55 55
 
56 56
     /**
57
-    * @var string
58
-    */
57
+     * @var string
58
+     */
59 59
     private $content = null;
60 60
 
61 61
     /**
62
-    * @var mixed
63
-    */
62
+     * @var mixed
63
+     */
64 64
     private $created = null;
65 65
 
66 66
     /**
67
-    * @var mixed
68
-    */
67
+     * @var mixed
68
+     */
69 69
     private $notCreated = null;
70 70
 
71 71
     /**
72
-    * @var string
73
-    */
72
+     * @var string
73
+     */
74 74
     private $mode = null;
75 75
 
76 76
     /**
77
-    * @var string
78
-    */
77
+     * @var string
78
+     */
79 79
     protected $phpcode = null;
80 80
 
81 81
     /**
82
-    * @var string
83
-    */
82
+     * @var string
83
+     */
84 84
     protected $htmlcode;
85 85
 
86 86
     /**
87
-    *  @public function constructor
88
-    *  @param null
89
-    */
87
+     *  @public function constructor
88
+     *  @param null
89
+     */
90 90
 
91 91
     public function __construct()
92 92
     {
@@ -95,8 +95,8 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-    *  @public static function getInstance
99
-    *  @param null
98
+     *  @public static function getInstance
99
+     *  @param null
100 100
      * @return TDMCreateFile
101 101
      */
102 102
     public static function getInstance()
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-    *  @public function write
140
-    *  @param string $module
141
-    *  @param string $fileName
139
+     *  @public function write
140
+     *  @param string $module
141
+     *  @param string $fileName
142 142
      */
143 143
     /*public function write($module, $fileName)
144 144
     {
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
     }*/
148 148
 
149 149
     /**
150
-    *  @private function setRepositoryPath
151
-    *  @param string $moduleDirname
150
+     *  @private function setRepositoryPath
151
+     *  @param string $moduleDirname
152 152
      */
153 153
     private function setRepositoryPath($moduleDirname)
154 154
     {
@@ -156,8 +156,8 @@  discard block
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-    *  @private function getRepositoryPath
160
-    *  @param null
159
+     *  @private function getRepositoryPath
160
+     *  @param null
161 161
      * @return string
162 162
      */
163 163
     private function getRepositoryPath()
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
     }
196 196
 
197 197
     /**
198
-    *  @public function getFileName
199
-    *  @param null
198
+     *  @public function getFileName
199
+     *  @param null
200 200
      * @return mixed
201 201
      */
202 202
     public function getFileName()
@@ -225,8 +225,8 @@  discard block
 block discarded – undo
225 225
     }
226 226
 
227 227
     /**
228
-    *  @private function getFolderName
229
-    *  @param null
228
+     *  @private function getFolderName
229
+     *  @param null
230 230
      * @return string
231 231
      */
232 232
     private function getFolderName()
@@ -245,8 +245,8 @@  discard block
 block discarded – undo
245 245
     }
246 246
 
247 247
     /**
248
-    *  @public function getUploadPath
249
-    *  @param null
248
+     *  @public function getUploadPath
249
+     *  @param null
250 250
      * @return string
251 251
      */
252 252
     private function getUploadPath()
@@ -261,8 +261,8 @@  discard block
 block discarded – undo
261 261
     }
262 262
 
263 263
     /**
264
-    *  @private function getCreated
265
-    *  @param null
264
+     *  @private function getCreated
265
+     *  @param null
266 266
      * @return bool
267 267
      */
268 268
     private function getCreated()
@@ -271,8 +271,8 @@  discard block
 block discarded – undo
271 271
     }
272 272
 
273 273
     /**
274
-    *  @private function getNotCreated
275
-    *  @param null
274
+     *  @private function getNotCreated
275
+     *  @param null
276 276
      * @return bool
277 277
      */
278 278
     private function getNotCreated()
@@ -301,10 +301,10 @@  discard block
 block discarded – undo
301 301
     }
302 302
 
303 303
     /**
304
-    *  @public function getLanguage
305
-    *  @param string $moduleDirname
306
-    *  @param string $prefix
307
-    *  @param string $suffix
304
+     *  @public function getLanguage
305
+     *  @param string $moduleDirname
306
+     *  @param string $prefix
307
+     *  @param string $suffix
308 308
      *
309 309
      * @return string
310 310
      */
@@ -322,8 +322,8 @@  discard block
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-    *  @public function getLeftString
326
-    *  @param string $string
325
+     *  @public function getLeftString
326
+     *  @param string $string
327 327
      *
328 328
      * @return string
329 329
      */
@@ -419,8 +419,8 @@  discard block
 block discarded – undo
419 419
     }
420 420
 
421 421
     /**
422
-    *  @public function getInclude
423
-    *  @param $filename
422
+     *  @public function getInclude
423
+     *  @param $filename
424 424
      * @return string
425 425
      */
426 426
     public function getInclude($filename = 'header')
@@ -429,8 +429,8 @@  discard block
 block discarded – undo
429 429
     }
430 430
 
431 431
     /**
432
-    *  @public function getIncludeOnce
433
-    *  @param $filename
432
+     *  @public function getIncludeOnce
433
+     *  @param $filename
434 434
      * @return string
435 435
      */
436 436
     public function getIncludeOnce($filename = 'header')
@@ -463,9 +463,9 @@  discard block
 block discarded – undo
463 463
     }
464 464
 
465 465
     /**
466
-    *  @public function getHeaderFilesComments
467
-    *  @param string $module
468
-    *  @param string $fileName
466
+     *  @public function getHeaderFilesComments
467
+     *  @param string $module
468
+     *  @param string $fileName
469 469
      * @param $noPhpFile
470 470
      *
471 471
      * @return string
@@ -510,8 +510,8 @@  discard block
 block discarded – undo
510 510
     }
511 511
 
512 512
     /**
513
-    *  @public function renderFile
514
-    *  @param null
513
+     *  @public function renderFile
514
+     *  @param null
515 515
      * @return string
516 516
      */
517 517
     public function renderFile()
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
         if (strrpos($path, '\\')) {
236 236
             $str = strrpos($path, '\\');
237 237
             if (false !== $str) {
238
-                return substr($path, $str + 1, strlen($path));
238
+                return substr($path, $str+1, strlen($path));
239 239
             } else {
240 240
                 return substr($path, $str, strlen($path));
241 241
             }
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
         if (strpos($string, '_')) {
344 344
             $str = strpos($string, '_');
345 345
             if (false !== $str) {
346
-                $ret = substr($string, $str + 1, strlen($string));
346
+                $ret = substr($string, $str+1, strlen($string));
347 347
 
348 348
                 return $ret;
349 349
             }
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserBroken.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param $tableMid
84 84
      * @param $tableId
85 85
      * @param $tableAutoincrement
86
-     * @param $language
86
+     * @param string $language
87 87
      * @return string
88 88
      */
89 89
     private function getTemplatesUserBrokenTableHead($tableMid, $tableId, $tableAutoincrement, $language)
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      * @param $tableName
113 113
      * @param $tableSoleName
114 114
      * @param $tableAutoincrement
115
-     * @param $language
115
+     * @param string $language
116 116
      * @return string
117 117
      */
118 118
     private function getTemplatesUserBrokenBody($moduleDirname, $tableMid, $tableId, $tableName, $tableSoleName, $tableAutoincrement, $language)
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
     /**
167 167
     *  @public function render
168
-     * @return bool|string
168
+     * @return null|string
169 169
      *
170 170
      */
171 171
     public function render()
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,12 +96,12 @@
 block discarded – undo
96 96
             $stuFieldName = strtoupper($fieldName);
97 97
             if ((1 == $tableAutoincrement) || (1 == $fields[$f]->getVar('field_user'))) {
98 98
                 $const = $hc->getSmartyConst($language, $stuFieldName);
99
-                $th .= $hc->getHtmlTag('th', ['class' => 'center'], $const) . PHP_EOL;
99
+                $th .= $hc->getHtmlTag('th', ['class' => 'center'], $const).PHP_EOL;
100 100
             }
101 101
         }
102
-        $tr = $hc->getHtmlTag('tr', ['class' => 'head'], $th) . PHP_EOL;
102
+        $tr = $hc->getHtmlTag('tr', ['class' => 'head'], $th).PHP_EOL;
103 103
 
104
-        return $hc->getHtmlTag('thead', ['class' => 'outer'], $tr) . PHP_EOL;
104
+        return $hc->getHtmlTag('thead', ['class' => 'outer'], $tr).PHP_EOL;
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPages.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
     *  @private function getTemplatesUserPagesThead
101 101
     *  @param string $language
102
-     * @param $tableName
102
+     * @param string $tableName
103 103
      * @return string
104 104
      */
105 105
     private function getTemplatesUserPagesTableThead($tableName, $language)
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     *  @private function getTemplatesUserPagesTbody
119 119
     *  @param string $moduleDirname
120 120
     *  @param string $language
121
-     * @param $tableName
121
+     * @param string $tableName
122 122
      * @param $tableSoleName
123 123
      * @return string
124 124
      */
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      * @param $moduleDirname
158 158
      * @param $tableName
159 159
      * @param $tableSoleName
160
-     * @param $language
160
+     * @param string $language
161 161
      * @return string
162 162
      */
163 163
     private function getTemplatesUserPages($moduleDirname, $tableName, $tableSoleName, $language)
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     *  @public function render
187 187
     *  @param null
188 188
      *
189
-     * @return bool|string
189
+     * @return null|string
190 190
      */
191 191
     public function render()
192 192
     {
Please login to merge, or discard this patch.
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class TemplatesUserPages extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return TemplatesUserPages
44 44
      */
45 45
     public static function getInstance()
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param string $table
59
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param string $table
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @private function getTemplatesUserPagesHeader
70
-    *  @param string $moduleDirname
69
+     *  @private function getTemplatesUserPagesHeader
70
+     *  @param string $moduleDirname
71 71
      * @return string
72 72
      */
73 73
     private function getTemplatesUserPagesHeader($moduleDirname)
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-    *  @private function getTemplatesUserPagesThead
101
-    *  @param string $language
100
+     *  @private function getTemplatesUserPagesThead
101
+     *  @param string $language
102 102
      * @param $tableName
103 103
      * @return string
104 104
      */
@@ -115,9 +115,9 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-    *  @private function getTemplatesUserPagesTbody
119
-    *  @param string $moduleDirname
120
-    *  @param string $language
118
+     *  @private function getTemplatesUserPagesTbody
119
+     *  @param string $moduleDirname
120
+     *  @param string $language
121 121
      * @param $tableName
122 122
      * @param $tableSoleName
123 123
      * @return string
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-    *  @private function getTemplatesUserPagesTfoot
141
+     *  @private function getTemplatesUserPagesTfoot
142 142
      * @param null
143 143
      * @return string
144 144
      *
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-    *  @private function getTemplatesUserPages
156
+     *  @private function getTemplatesUserPages
157 157
      * @param $moduleDirname
158 158
      * @param $tableName
159 159
      * @param $tableSoleName
@@ -170,8 +170,8 @@  discard block
 block discarded – undo
170 170
     }
171 171
 
172 172
     /**
173
-    *  @private function getTemplatesUserPagesFooter
174
-    *  @param string $moduleDirname
173
+     *  @private function getTemplatesUserPagesFooter
174
+     *  @param string $moduleDirname
175 175
      *
176 176
      * @return string
177 177
      */
@@ -183,8 +183,8 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-    *  @public function render
187
-    *  @param null
186
+     *  @public function render
187
+     *  @param null
188 188
      *
189 189
      * @return bool|string
190 190
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPagesList.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @param        $tableMid
75 75
      * @param        $tableName
76 76
      * @param        $tableSoleName
77
-     * @param        $language
77
+     * @param        string $language
78 78
      * @return string
79 79
      */
80 80
     private function getTemplatesUserPagesListPanel($moduleDirname, $tableId, $tableMid, $tableName, $tableSoleName, $language)
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
     *  @public function render
160 160
     *  @param null
161
-     * @return bool|string
161
+     * @return null|string
162 162
      *
163 163
      */
164 164
     public function render()
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class TemplatesUserPagesList extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return TemplatesUserPagesList
44 44
      */
45 45
     public static function getInstance()
@@ -53,12 +53,12 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param string $table
59
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param string $table
59
+     *  @param string $filename
60 60
      * @param $tables
61
-      */
61
+     */
62 62
     public function write($module, $table, $tables, $filename)
63 63
     {
64 64
         $this->setModule($module);
@@ -156,8 +156,8 @@  discard block
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-    *  @public function render
160
-    *  @param null
159
+     *  @public function render
160
+     *  @param null
161 161
      * @return bool|string
162 162
      *
163 163
      */
Please login to merge, or discard this patch.
class/files/user/UserRate.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * @param $tableName
100 100
      * @param $tableSoleName
101 101
      * @param $tableAutoincrement
102
-     * @param $language
102
+     * @param string $language
103 103
      * @return string
104 104
      */
105 105
     private function getUserRateSwitch($moduleDirname, $tableId, $tableMid, $tableName, $tableSoleName, $tableAutoincrement, $language)
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
     *  @public function getUserRateFooter
180 180
      * @param $moduleDirname
181
-     * @param $language
181
+     * @param string $language
182 182
      * @return string
183 183
      */
184 184
     public function getUserRateFooter($moduleDirname, $language)
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     /**
195 195
     *  @public function render
196 196
     *  @param null
197
-     * @return bool|string
197
+     * @return null|string
198 198
      */
199 199
     public function render()
200 200
     {
Please login to merge, or discard this patch.
class/files/user/UserSubmit.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @public function getUserSubmitFooter
170 170
      * @param $moduleDirname
171
-     * @param $language
171
+     * @param string $language
172 172
      * @return string
173 173
      */
174 174
     public function getUserSubmitFooter($moduleDirname, $language)
@@ -192,8 +192,8 @@  discard block
 block discarded – undo
192 192
      * @param $tableSoleName
193 193
      * @param $tableSubmit
194 194
      * @param $tableAutoincrement
195
-     * @param $language
196
-     * @param $t
195
+     * @param string $language
196
+     * @param string $t
197 197
      * @return string
198 198
      */
199 199
     private function getUserSubmitSwitch($moduleDirname, $tableId, $tableMid, $tableName, $tableSoleName, $tableSubmit, $tableAutoincrement, $language, $t)
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     /**
212 212
     *  @public function render
213 213
     *  @param null
214
-     * @return bool|string
214
+     * @return null|string
215 215
      */
216 216
     public function render()
217 217
     {
Please login to merge, or discard this patch.
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserSubmit extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return UserSubmit
44 44
      */
45 45
     public static function getInstance()
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param mixed $table
59
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param mixed $table
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -125,10 +125,10 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-    *  @public function getUserSubmitSave
129
-    *  @param string $moduleDirname
128
+     *  @public function getUserSubmitSave
129
+     *  @param string $moduleDirname
130 130
      * @param        $fields
131
-    *  @param string $tableName
131
+     *  @param string $tableName
132 132
      * @param        $tableSoleName
133 133
      * @param        $tableSubmit
134 134
      * @param        $tableAutoincrement
@@ -209,8 +209,8 @@  discard block
 block discarded – undo
209 209
     }
210 210
 
211 211
     /**
212
-    *  @public function render
213
-    *  @param null
212
+     *  @public function render
213
+     *  @param null
214 214
      * @return bool|string
215 215
      */
216 216
     public function render()
Please login to merge, or discard this patch.