Completed
Push — master ( df9201...fc5d0d )
by Goffy
9s
created
class/files/admin/AdminFooter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
     *  @public function render
76 76
     *  @param null
77
-    * @return bool|string
77
+    * @return null|string
78 78
     */
79 79
     public function render()
80 80
     {
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class AdminFooter extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $xc = null;
34 34
 
35 35
     /**
36
-    *  @public function constructor
37
-    *  @param null
38
-    */
36
+     *  @public function constructor
37
+     *  @param null
38
+     */
39 39
 
40 40
     public function __construct()
41 41
     {
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    *  @static function getInstance
49
-    * @return AdminFooter
50
-    */
48
+     *  @static function getInstance
49
+     * @return AdminFooter
50
+     */
51 51
     public static function getInstance()
52 52
     {
53 53
         static $instance = false;
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-    *  @public function write
63
-    *  @param string $module
64
-    *  @param string $filename
65
-    */
62
+     *  @public function write
63
+     *  @param string $module
64
+     *  @param string $filename
65
+     */
66 66
     public function write($module, $filename)
67 67
     {
68 68
         $this->setModule($module);
@@ -70,10 +70,10 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-    *  @public function render
74
-    *  @param null
75
-    * @return bool|string
76
-    */
73
+     *  @public function render
74
+     *  @param null
75
+     * @return bool|string
76
+     */
77 77
     public function render()
78 78
     {
79 79
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/include/IncludeFunctions.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @public function write
61 61
      *
62
-     * @param $module
63
-     * @param $filename
62
+     * @param string $module
63
+     * @param string $filename
64 64
      */
65 65
     public function write($module, $filename)
66 66
     {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      *
379 379
      *  @param null
380 380
      *
381
-     * @return bool|string
381
+     * @return null|string
382 382
      */
383 383
     public function render()
384 384
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeFunctions 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 IncludeFunctions
44 44
      */
45 45
     public static function getInstance()
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @private function getFunctionBlock
69
-    *  @param string $moduleDirname
68
+     *  @private function getFunctionBlock
69
+     *  @param string $moduleDirname
70 70
      *
71 71
      * @return string
72 72
      */
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-    *  @private function getFunctionGetMyItemIds
97
-    *  @param string $moduleDirname
96
+     *  @private function getFunctionGetMyItemIds
97
+     *  @param string $moduleDirname
98 98
      * @param $tableName
99 99
      *
100 100
      * @return string
Please login to merge, or discard this patch.
class/files/admin/AdminPermissions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @private function getPermissionsHeader
75 75
      *
76 76
      * @param $module
77
-     * @param $language
77
+     * @param string $language
78 78
      *
79 79
      * @return string
80 80
      */
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
      *  @private function getPermissionsSwitch
112 112
      *  @param $moduleDirname
113
-     *  @param $language
113
+     *  @param string $language
114 114
      *
115 115
      *  @return string
116 116
      */
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      *
199 199
      *  @param null
200 200
      *
201
-     *  @return bool|string
201
+     *  @return null|string
202 202
      */
203 203
     public function render()
204 204
     {
Please login to merge, or discard this patch.
class/files/admin/AdminXoopsCode.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @public function getAdminTemplateMain
60 60
      * @param        $language
61 61
      * @param        $tableName
62
-     * @param        $stuTableSoleName
62
+     * @param        string $stuTableSoleName
63 63
      * @param string $op
64 64
      * @param string $type
65 65
      *
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @public function getAxcAddInfoBox
97
-     * @param        $language
97
+     * @param        string $language
98 98
      *
99 99
      * @param string $t
100 100
      * @return string
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
     /**
108 108
      * @public function getAxcAddInfoBoxLine
109
-     * @param        $language
109
+     * @param        string $language
110 110
      * @param string $label
111 111
      * @param string $var
112 112
      *
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     /**
129 129
      * @public function getAxcAddConfigBoxLine
130
-     * @param        $language
130
+     * @param        string $language
131 131
      * @param string $label
132 132
      * @param string $var
133 133
      *
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     /**
236 236
      * @private function getAxcImageFileSetVar
237 237
      * @param        $moduleDirname
238
-     * @param        $dirname
238
+     * @param        string $dirname
239 239
      * @param        $tableName
240 240
      * @param        $fieldName
241 241
      * @param bool   $formatUrl
@@ -327,8 +327,8 @@  discard block
 block discarded – undo
327 327
     /**
328 328
      * @public function getAxcFetchMedia
329 329
      *
330
-     * @param        $anchor
331
-     * @param        $var
330
+     * @param        string $anchor
331
+     * @param        string $var
332 332
      *
333 333
      * @param string $t
334 334
      * @return string
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * @public function getAxcSetPrefix
343 343
      *
344
-     * @param        $anchor
344
+     * @param        string $anchor
345 345
      * @param        $var
346 346
      *
347 347
      * @param string $t
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
 class AdminXoopsCode
29 29
 {
30 30
     /**
31
-    *  @static function getInstance
32
-    *  @param null
33
-    * @return AdminXoopsCode
34
-    */
31
+     *  @static function getInstance
32
+     *  @param null
33
+     * @return AdminXoopsCode
34
+     */
35 35
     public static function getInstance()
36 36
     {
37 37
         static $instance = false;
Please login to merge, or discard this patch.
class/files/blocks/BlocksFiles.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * @public function write
57 57
      * @param string $module
58 58
      * @param mixed  $table
59
-     * @param        $filename
59
+     * @param        string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     *  @public function render
257 257
     *  @param null
258 258
     *
259
-    * @return bool|string
259
+    * @return null|string
260 260
     */
261 261
     public function render()
262 262
     {
Please login to merge, or discard this patch.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class BlocksFiles 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,10 +38,10 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
43
-    * @return BlocksFiles
44
-    */
41
+     *  @static function getInstance
42
+     *  @param null
43
+     * @return BlocksFiles
44
+     */
45 45
     public static function getInstance()
46 46
     {
47 47
         static $instance = false;
@@ -203,15 +203,15 @@  discard block
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-    *  @public function getBlocksEdit
207
-    *  @param string $moduleDirname
208
-    *  @param string $tableName
209
-    *  @param string $fieldId
210
-    *  @param string $fieldMain
211
-    *  @param string $language
212
-    *
213
-    * @return string
214
-    */
206
+     *  @public function getBlocksEdit
207
+     *  @param string $moduleDirname
208
+     *  @param string $tableName
209
+     *  @param string $fieldId
210
+     *  @param string $fieldMain
211
+     *  @param string $language
212
+     *
213
+     * @return string
214
+     */
215 215
     private function getBlocksEdit($moduleDirname, $tableName, $fieldId, $fieldMain, $language)
216 216
     {
217 217
         $stuModuleDirname = strtoupper($moduleDirname);
@@ -253,11 +253,11 @@  discard block
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-    *  @public function render
257
-    *  @param null
258
-    *
259
-    * @return bool|string
260
-    */
256
+     *  @public function render
257
+     *  @param null
258
+     *
259
+     * @return bool|string
260
+     */
261 261
     public function render()
262 262
     {
263 263
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/classes/ClassFiles.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * @param string $module
61 61
      * @param string $table
62 62
      * @param mixed  $tables
63
-     * @param        $filename
63
+     * @param        string $filename
64 64
      */
65 65
     public function write($module, $table, $tables, $filename)
66 66
     {
@@ -601,8 +601,8 @@  discard block
 block discarded – undo
601 601
      *  @public function getClassCounter
602 602
      *
603 603
      *  @param $tableName
604
-     *  @param $fieldId
605
-     *  @param $fieldMain
604
+     *  @param string $fieldId
605
+     *  @param string $fieldMain
606 606
      *
607 607
      *  @return string
608 608
      */
@@ -629,8 +629,8 @@  discard block
 block discarded – undo
629 629
      *  @public function getClassAll
630 630
      *
631 631
      *  @param $tableName
632
-     *  @param $fieldId
633
-     *  @param $fieldMain
632
+     *  @param string $fieldId
633
+     *  @param string $fieldMain
634 634
      *
635 635
      *  @return string
636 636
      */
@@ -656,12 +656,12 @@  discard block
 block discarded – undo
656 656
     /**
657 657
      * @public function getClassByCategory
658 658
      *
659
-     * @param $moduleDirname
659
+     * @param string $moduleDirname
660 660
      * @param $tableName
661 661
      * @param $tableFieldName
662
-     * @param $fieldId
662
+     * @param string $fieldId
663 663
      * @param $fieldName
664
-     * @param $fieldMain
664
+     * @param string $fieldMain
665 665
      * @param $fieldParent
666 666
      *
667 667
      * @param $fieldElement
@@ -735,10 +735,10 @@  discard block
 block discarded – undo
735 735
     /**
736 736
      * @public function getClassGetTableSolenameById
737 737
      *
738
-     * @param $moduleDirname
739
-     * @param $table
738
+     * @param string $moduleDirname
739
+     * @param string $table
740 740
      *
741
-     * @param $fieldMain
741
+     * @param string $fieldMain
742 742
      * @return string
743 743
      */
744 744
     private function getClassGetTableSolenameById($moduleDirname, $table, $fieldMain)
@@ -770,7 +770,7 @@  discard block
 block discarded – undo
770 770
      * @public function render
771 771
      * @param null
772 772
      *
773
-     * @return bool|string
773
+     * @return null|string
774 774
      */
775 775
     public function render()
776 776
     {
Please login to merge, or discard this patch.
class/files/classes/ClassFormElements.php 2 patches
Doc Comments   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
     /**
47 47
     *  @public function initForm
48 48
      *
49
-     * @param $module
50
-     * @param $table
49
+     * @param string $module
50
+     * @param string $table
51 51
      */
52 52
     public function initForm($module, $table)
53 53
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * @private function getXoopsFormText
60 60
      *
61
-     * @param        $language
61
+     * @param        string $language
62 62
      * @param        $fieldName
63 63
      * @param        $fieldDefault
64 64
      * @param string $required
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
     *  @private function getXoopsFormText
90 90
      *
91
-     * @param $language
91
+     * @param string $language
92 92
      * @param $fieldName
93 93
      * @param $required
94 94
      *
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
     *  @private function getXoopsFormDhtmlTextArea
112 112
      *
113
-     * @param $language
113
+     * @param string $language
114 114
      * @param $moduleDirname
115 115
      * @param $fieldName
116 116
      * @param $required
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * @private function getXoopsFormCheckBox
145 145
      *
146
-     * @param        $language
146
+     * @param        string $language
147 147
      * @param        $tableSoleName
148 148
      * @param        $fieldName
149 149
      * @param        $fieldElementId
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     /**
206 206
     *  @private function getXoopsFormImageList
207 207
      *
208
-     * @param $language
208
+     * @param string $language
209 209
      * @param $moduleDirname
210 210
      * @param $tableName
211 211
      * @param $tableSoleName
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
     /**
259 259
     *  @private function getXoopsFormSelectFile
260 260
      *
261
-     * @param $language
261
+     * @param string $language
262 262
      * @param $moduleDirname
263 263
      * @param $fieldName
264 264
      * @param $required
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     /**
310 310
     *  @private function getXoopsFormUrlFile
311 311
      *
312
-     * @param   $language
312
+     * @param   string $language
313 313
      * @param   $moduleDirname
314 314
      * @param   $fieldName
315 315
      * @param   $fieldDefault
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
     /**
340 340
      * @private function getXoopsFormUploadImage
341 341
      *
342
-     * @param        $language
342
+     * @param        string $language
343 343
      * @param        $moduleDirname
344 344
      * @param        $tableName
345 345
      * @param        $tableSoleName
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
     /**
391 391
     *  @private function getXoopsFormUploadFile
392 392
      *
393
-     * @param $language
393
+     * @param string $language
394 394
      * @param $moduleDirname
395 395
      * @param $tableName
396 396
      * @param $fieldName
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
     /**
417 417
     *  @private function getXoopsFormColorPicker
418 418
      *
419
-     * @param $language
419
+     * @param string $language
420 420
      * @param $moduleDirname
421 421
      * @param $fieldName
422 422
      * @param $required
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
     /**
441 441
     *  @private function getXoopsFormSelectBox
442 442
      *
443
-     * @param $language
443
+     * @param string $language
444 444
      * @param $moduleDirname
445 445
      * @param $tableName
446 446
      * @param $fieldName
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
     /**
472 472
      * @private function getXoopsFormSelectUser
473 473
      *
474
-     * @param        $language
474
+     * @param        string $language
475 475
      * @param        $moduleDirname
476 476
      * @param        $fieldName
477 477
      * @param string $required
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
     /**
495 495
     *  @private function getXoopsFormRadioYN
496 496
      *
497
-     * @param $language
497
+     * @param string $language
498 498
      * @param $fieldName
499 499
      * @param $required
500 500
      *
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
     /**
519 519
     *  @private function getXoopsFormTextDateSelect
520 520
      *
521
-     * @param $language
521
+     * @param string $language
522 522
      * @param $fieldName
523 523
      * @param $required
524 524
      *
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
     /**
543 543
     *  @private function getXoopsFormTable
544 544
      *
545
-     * @param $language
545
+     * @param string $language
546 546
      * @param $moduleDirname
547 547
      * @param $tableName
548 548
      * @param $fieldName
@@ -577,9 +577,9 @@  discard block
 block discarded – undo
577 577
     /**
578 578
      * @private  function getXoopsFormTopic
579 579
      *
580
-     * @param        $language
580
+     * @param        string $language
581 581
      * @param        $moduleDirname
582
-     * @param        $topicTableName
582
+     * @param        string $topicTableName
583 583
      * @param        $fieldId
584 584
      * @param        $fieldPid
585 585
      * @param        $fieldMain
Please login to merge, or discard this patch.
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    *  @public function initForm
47
+     *  @public function initForm
48 48
      *
49 49
      * @param $module
50 50
      * @param $table
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-    *  @private function getXoopsFormText
89
+     *  @private function getXoopsFormText
90 90
      *
91 91
      * @param $language
92 92
      * @param $fieldName
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-    *  @private function getXoopsFormDhtmlTextArea
111
+     *  @private function getXoopsFormDhtmlTextArea
112 112
      *
113 113
      * @param $language
114 114
      * @param $moduleDirname
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-    *  @private function getXoopsFormHidden
186
+     *  @private function getXoopsFormHidden
187 187
      *
188 188
      * @param $fieldName
189 189
      *
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-    *  @private function getXoopsFormImageList
206
+     *  @private function getXoopsFormImageList
207 207
      *
208 208
      * @param $language
209 209
      * @param $moduleDirname
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     }
257 257
 
258 258
     /**
259
-    *  @private function getXoopsFormSelectFile
259
+     *  @private function getXoopsFormSelectFile
260 260
      *
261 261
      * @param $language
262 262
      * @param $moduleDirname
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     }
308 308
 
309 309
     /**
310
-    *  @private function getXoopsFormUrlFile
310
+     *  @private function getXoopsFormUrlFile
311 311
      *
312 312
      * @param   $language
313 313
      * @param   $moduleDirname
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
     }
389 389
 
390 390
     /**
391
-    *  @private function getXoopsFormUploadFile
391
+     *  @private function getXoopsFormUploadFile
392 392
      *
393 393
      * @param $language
394 394
      * @param $moduleDirname
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
     }
415 415
 
416 416
     /**
417
-    *  @private function getXoopsFormColorPicker
417
+     *  @private function getXoopsFormColorPicker
418 418
      *
419 419
      * @param $language
420 420
      * @param $moduleDirname
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
     }
439 439
 
440 440
     /**
441
-    *  @private function getXoopsFormSelectBox
441
+     *  @private function getXoopsFormSelectBox
442 442
      *
443 443
      * @param $language
444 444
      * @param $moduleDirname
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
     }
493 493
 
494 494
     /**
495
-    *  @private function getXoopsFormRadioYN
495
+     *  @private function getXoopsFormRadioYN
496 496
      *
497 497
      * @param $language
498 498
      * @param $fieldName
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
     }
517 517
 
518 518
     /**
519
-    *  @private function getXoopsFormTextDateSelect
519
+     *  @private function getXoopsFormTextDateSelect
520 520
      *
521 521
      * @param $language
522 522
      * @param $fieldName
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
     }
541 541
 
542 542
     /**
543
-    *  @private function getXoopsFormTable
543
+     *  @private function getXoopsFormTable
544 544
      *
545 545
      * @param $language
546 546
      * @param $moduleDirname
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
     }
614 614
 
615 615
     /**
616
-    *  @private function getXoopsFormTag
616
+     *  @private function getXoopsFormTag
617 617
      *
618 618
      * @param $moduleDirname
619 619
      * @param $fieldId
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     }
642 642
 
643 643
     /**
644
-    *  @public function renderElements
644
+     *  @public function renderElements
645 645
      *  @param null
646 646
      * @return string
647 647
      */
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
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      *  @public function write
57 57
      *
58
-     * @param $module
58
+     * @param string $module
59 59
      * @param $table
60
-     * @param $filename
60
+     * @param string $filename
61 61
      *
62 62
      * @return string
63 63
      */
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * @private function getLanguageMain
73 73
      *
74
-     * @param $language
74
+     * @param string $language
75 75
      * @param $module
76 76
      *
77 77
      * @return string
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * @private function getLanguageMenu
91 91
      *
92 92
      * @param $module
93
-     * @param $language
93
+     * @param string $language
94 94
      *
95 95
      * @return string
96 96
      */
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
     /**
122 122
     *  @private function getLanguageAdmin
123
-    *  @param $language
123
+    *  @param string $language
124 124
      *
125 125
      * @return string
126 126
      */
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
     /**
138 138
     *  @private function getLanguageSubmenu
139
-    *  @param $language
139
+    *  @param string $language
140 140
     *  @param array $tables
141 141
      *
142 142
      * @return string
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
     /**
167 167
     *  @private function getLanguageBlocks
168
-    *  @param $language
168
+    *  @param string $language
169 169
     *  @param array $tables
170 170
      *
171 171
      * @return string
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 
209 209
     /**
210 210
     *  @private function getLanguageUser
211
-    *  @param $language
211
+    *  @param string $language
212 212
      *
213 213
      * @return string
214 214
      */
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 
225 225
     /**
226 226
     *  @private function getLanguageConfig
227
-    *  @param $language
227
+    *  @param string $language
228 228
     *  @param $table
229 229
      *
230 230
      * @return string
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 
281 281
     /**
282 282
     *  @private function getLanguageNotifications
283
-    *  @param $language
283
+    *  @param string $language
284 284
     *  @param mixed $tableSoleName
285 285
      *
286 286
      * @return string
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
 
303 303
     /**
304 304
     *  @private function getLanguagePermissionsGroups
305
-    *  @param $language
305
+    *  @param string $language
306 306
      *
307 307
      * @return string
308 308
      */
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
     /**
335 335
     *  @public function render
336 336
     *  @param null
337
-     * @return bool|string
337
+     * @return null|string
338 338
      */
339 339
     public function render()
340 340
     {
Please login to merge, or discard this patch.
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class LanguageModinfo 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 LanguageModinfo
44 44
      */
45 45
     public static function getInstance()
@@ -119,8 +119,8 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-    *  @private function getLanguageAdmin
123
-    *  @param $language
122
+     *  @private function getLanguageAdmin
123
+     *  @param $language
124 124
      *
125 125
      * @return string
126 126
      */
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-    *  @private function getLanguageSubmenu
139
-    *  @param $language
140
-    *  @param array $tables
138
+     *  @private function getLanguageSubmenu
139
+     *  @param $language
140
+     *  @param array $tables
141 141
      *
142 142
      * @return string
143 143
      */
@@ -164,9 +164,9 @@  discard block
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-    *  @private function getLanguageBlocks
168
-    *  @param $language
169
-    *  @param array $tables
167
+     *  @private function getLanguageBlocks
168
+     *  @param $language
169
+     *  @param array $tables
170 170
      *
171 171
      * @return string
172 172
      */
@@ -207,8 +207,8 @@  discard block
 block discarded – undo
207 207
     }
208 208
 
209 209
     /**
210
-    *  @private function getLanguageUser
211
-    *  @param $language
210
+     *  @private function getLanguageUser
211
+     *  @param $language
212 212
      *
213 213
      * @return string
214 214
      */
@@ -223,9 +223,9 @@  discard block
 block discarded – undo
223 223
     }
224 224
 
225 225
     /**
226
-    *  @private function getLanguageConfig
227
-    *  @param $language
228
-    *  @param $table
226
+     *  @private function getLanguageConfig
227
+     *  @param $language
228
+     *  @param $table
229 229
      *
230 230
      * @return string
231 231
      */
@@ -279,9 +279,9 @@  discard block
 block discarded – undo
279 279
     }
280 280
 
281 281
     /**
282
-    *  @private function getLanguageNotifications
283
-    *  @param $language
284
-    *  @param mixed $tableSoleName
282
+     *  @private function getLanguageNotifications
283
+     *  @param $language
284
+     *  @param mixed $tableSoleName
285 285
      *
286 286
      * @return string
287 287
      */
@@ -301,8 +301,8 @@  discard block
 block discarded – undo
301 301
     }
302 302
 
303 303
     /**
304
-    *  @private function getLanguagePermissionsGroups
305
-    *  @param $language
304
+     *  @private function getLanguagePermissionsGroups
305
+     *  @param $language
306 306
      *
307 307
      * @return string
308 308
      */
@@ -319,8 +319,8 @@  discard block
 block discarded – undo
319 319
     }
320 320
 
321 321
     /**
322
-    *  @private function getFooter
323
-    *  @param null
322
+     *  @private function getFooter
323
+     *  @param null
324 324
      * @return string
325 325
      */
326 326
     private function getLanguageFooter()
@@ -332,8 +332,8 @@  discard block
 block discarded – undo
332 332
     }
333 333
 
334 334
     /**
335
-    *  @public function render
336
-    *  @param null
335
+     *  @public function render
336
+     *  @param null
337 337
      * @return bool|string
338 338
      */
339 339
     public function render()
Please login to merge, or discard this patch.
class/files/TDMCreateHtmlSmartyCodes.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
     /**
491 491
     *  @public function getSmartyConst
492 492
     *  @param string $language
493
-    *  @param mixed $const
493
+    *  @param string $const
494 494
      *
495 495
      * @return string
496 496
      */
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
      * @param string $operator
579 579
      * @param string $type
580 580
      * @param string $contentIf
581
-     * @param mixed  $contentElse
581
+     * @param boolean  $contentElse
582 582
      * @param bool   $count
583 583
      *
584 584
      * @param bool   $noSimbol
Please login to merge, or discard this patch.
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@  discard block
 block discarded – undo
28 28
 class TDMCreateHtmlSmartyCodes
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
     {
37 37
     }
38 38
 
39 39
     /**
40
-    *  @static function getInstance
41
-    *  @param null
40
+     *  @static function getInstance
41
+     *  @param null
42 42
      * @return TDMCreateHtmlSmartyCodes
43 43
      */
44 44
     public static function getInstance()
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-    *  @private function setAttributes
81
-    *  @param array $attributes
82
-    *
83
-    * @return string
84
-    */
80
+     *  @private function setAttributes
81
+     *  @param array $attributes
82
+     *
83
+     * @return string
84
+     */
85 85
     private function getAttributes($attributes)
86 86
     {
87 87
         $str = '';
@@ -95,8 +95,8 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-    *  @public function getHtmlEmpty
99
-    *  @param string $empty
98
+     *  @public function getHtmlEmpty
99
+     *  @param string $empty
100 100
      *
101 101
      * @return string
102 102
      */
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-    *  @public function getHtmlComment
110
-    *  @param string $htmlComment
109
+     *  @public function getHtmlComment
110
+     *  @param string $htmlComment
111 111
      *
112 112
      * @return string
113 113
      */
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     }
451 451
 
452 452
     /**
453
-    *  @public function getHtmlTableData
453
+     *  @public function getHtmlTableData
454 454
      * @param $content
455 455
      * @param $tdClass
456 456
      * @param $colspan
@@ -466,8 +466,8 @@  discard block
 block discarded – undo
466 466
     }
467 467
 
468 468
     /**
469
-    *  @public function getSmartyComment
470
-    *  @param string $comment
469
+     *  @public function getSmartyComment
470
+     *  @param string $comment
471 471
      *
472 472
      * @return string
473 473
      */
@@ -477,8 +477,8 @@  discard block
 block discarded – undo
477 477
     }
478 478
 
479 479
     /**
480
-    *  @public function getSmartyNoSimbol
481
-    *  @param string $noSimbol
480
+     *  @public function getSmartyNoSimbol
481
+     *  @param string $noSimbol
482 482
      *
483 483
      * @return string
484 484
      */
@@ -488,9 +488,9 @@  discard block
 block discarded – undo
488 488
     }
489 489
 
490 490
     /**
491
-    *  @public function getSmartyConst
492
-    *  @param string $language
493
-    *  @param mixed $const
491
+     *  @public function getSmartyConst
492
+     *  @param string $language
493
+     *  @param mixed $const
494 494
      *
495 495
      * @return string
496 496
      */
@@ -500,8 +500,8 @@  discard block
 block discarded – undo
500 500
     }
501 501
 
502 502
     /**
503
-    *  @public function getSmartySingleVar
504
-    *  @param string $var
503
+     *  @public function getSmartySingleVar
504
+     *  @param string $var
505 505
      *
506 506
      * @return string
507 507
      */
@@ -511,9 +511,9 @@  discard block
 block discarded – undo
511 511
     }
512 512
 
513 513
     /**
514
-    *  @public function getSmartyDoubleVar
515
-    *  @param string $leftVar
516
-    *  @param string $rightVar
514
+     *  @public function getSmartyDoubleVar
515
+     *  @param string $leftVar
516
+     *  @param string $rightVar
517 517
      *
518 518
      * @return string
519 519
      */
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
     }
548 548
 
549 549
     /**
550
-    *  @public function getSmartyIncludeFileListSection
550
+     *  @public function getSmartyIncludeFileListSection
551 551
      * @param $moduleDirname
552 552
      * @param $fileName
553 553
      * @param $tableFieldName
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
     }
561 561
 
562 562
     /**
563
-    *  @public function getSmartyIncludeFileListForeach
563
+     *  @public function getSmartyIncludeFileListForeach
564 564
      * @param $moduleDirname
565 565
      * @param $fileName
566 566
      * @param $tableFieldName
Please login to merge, or discard this patch.