Completed
Push — master ( aa4794...6b7a6d )
by Gino
19s
created
class/morefiles.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -289,10 +289,10 @@
 block discarded – undo
289 289
     /**
290 290
      * Get MoreFiles Criteria.
291 291
      * @param $criteriaMoreFiles
292
-     * @param $start
293
-     * @param $limit
294
-     * @param $sort
295
-     * @param $order
292
+     * @param integer $start
293
+     * @param integer $limit
294
+     * @param string $sort
295
+     * @param string $order
296 296
      * @return
297 297
      */
298 298
     private function getMoreFilesCriteria($criteriaMoreFiles, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
class/tables.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
     /**
303 303
      * Get Defined Language.
304
-     * @param $lang
304
+     * @param string $lang
305 305
      *
306 306
      * @return string
307 307
      */
@@ -437,10 +437,10 @@  discard block
 block discarded – undo
437 437
     /**
438 438
      * Get Tables Criteria.
439 439
      * @param $criteriaTables
440
-     * @param $start
441
-     * @param $limit
442
-     * @param $sort
443
-     * @param $order
440
+     * @param integer $start
441
+     * @param integer $limit
442
+     * @param string $sort
443
+     * @param string $order
444 444
      * @return
445 445
      */
446 446
     private function getTablesCriteria($criteriaTables, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
class/settings.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,6 @@
 block discarded – undo
262 262
 
263 263
     /**
264 264
      * Get Options Settings
265
-
266 265
      * @return string
267 266
      * @internal param $key
268 267
      *
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
     /**
303 303
      * Get Defined Language.
304
-     * @param $lang
304
+     * @param string $lang
305 305
      *
306 306
      * @return string
307 307
      */
@@ -437,10 +437,10 @@  discard block
 block discarded – undo
437 437
     /**
438 438
      * Get Tables Criteria.
439 439
      * @param $criteriaTables
440
-     * @param $start
441
-     * @param $limit
442
-     * @param $sort
443
-     * @param $order
440
+     * @param integer $start
441
+     * @param integer $limit
442
+     * @param string $sort
443
+     * @param string $order
444 444
      * @return
445 445
      */
446 446
     private function getTablesCriteria($criteriaTables, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
class/files/admin/AdminPermissions.php 2 patches
Doc Comments   +6 added lines, -2 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
      */
@@ -114,6 +114,10 @@  discard block
 block discarded – undo
114 114
      *
115 115
      *  @return string
116 116
      */
117
+
118
+    /**
119
+     * @param string $language
120
+     */
117 121
     private function getPermissionsSwitch($moduleDirname, $language)
118 122
     {
119 123
         $pc = TDMCreatePhpCode::getInstance();
@@ -198,7 +202,7 @@  discard block
 block discarded – undo
198 202
      *
199 203
      *  @param null
200 204
      *
201
-     *  @return bool|string
205
+     *  @return null|string
202 206
      */
203 207
     public function render()
204 208
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         $ret .= $xc->getXcXoopsRequest('op', 'op', 'global');
101 101
         $ret .= $xc->getXcLoad('XoopsFormLoader');
102 102
         $optionsSelect = array('global' => "{$language}PERMISSIONS_GLOBAL", 'approve' => "{$language}PERMISSIONS_APPROVE",
103
-                                'submit' => "{$language}PERMISSIONS_SUBMIT", 'view' => "{$language}PERMISSIONS_VIEW", );
103
+                                'submit' => "{$language}PERMISSIONS_SUBMIT", 'view' => "{$language}PERMISSIONS_VIEW",);
104 104
         $formSelect = $xc->getXoopsFormSelectExtraOptions('formSelect', '\'\'', 'op', $optionsSelect, 'onchange="document.fselperm.submit()"');
105 105
         $ret .= $cc->getXoopsSimpleForm('permTableForm', 'formSelect', $formSelect, '\'\'', 'fselperm', 'permissions');
106 106
 
@@ -120,16 +120,16 @@  discard block
 block discarded – undo
120 120
         $cases = array('global' => array("\$formTitle = {$language}PERMISSIONS_GLOBAL;",
121 121
                                         "\$permName = '{$moduleDirname}_ac';",
122 122
                                         "\$permDesc = {$language}PERMISSIONS_GLOBAL_DESC;",
123
-                                        "\$globalPerms = array( '4' => {$language}PERMISSIONS_GLOBAL_4, '8' => {$language}PERMISSIONS_GLOBAL_8, '16' => {$language}PERMISSIONS_GLOBAL_16 );", ),
123
+                                        "\$globalPerms = array( '4' => {$language}PERMISSIONS_GLOBAL_4, '8' => {$language}PERMISSIONS_GLOBAL_8, '16' => {$language}PERMISSIONS_GLOBAL_16 );",),
124 124
                         'approve' => array("\$formTitle = {$language}PERMISSIONS_APPROVE;",
125 125
                                         "\$permName = '{$moduleDirname}_approve';",
126
-                                        "\$permDesc = {$language}PERMISSIONS_APPROVE_DESC;", ),
126
+                                        "\$permDesc = {$language}PERMISSIONS_APPROVE_DESC;",),
127 127
                         'submit' => array("\$formTitle = {$language}PERMISSIONS_SUBMIT;",
128 128
                                         "\$permName = '{$moduleDirname}_submit';",
129
-                                        "\$permDesc = {$language}PERMISSIONS_SUBMIT_DESC;", ),
129
+                                        "\$permDesc = {$language}PERMISSIONS_SUBMIT_DESC;",),
130 130
                         'view' => array("\$formTitle = {$language}PERMISSIONS_VIEW;",
131 131
                                         "\$permName = '{$moduleDirname}_view';",
132
-                                        "\$permDesc = {$language}PERMISSIONS_VIEW_DESC;", ), );
132
+                                        "\$permDesc = {$language}PERMISSIONS_VIEW_DESC;",),);
133 133
 
134 134
         $contentSwitch = $pc->getPhpCodeCaseSwitch($cases, true, false, "\t");
135 135
 
Please login to merge, or discard this patch.
class/files/classes/ClassFiles.php 1 patch
Doc Comments   +11 added lines, -8 removed lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
      *  @param string $module
61 61
      *  @param string $table
62 62
      *  @param mixed $tables
63
+     * @param string $filename
63 64
      */
64 65
     public function write($module, $table, $tables, $filename)
65 66
     {
@@ -502,7 +503,7 @@  discard block
 block discarded – undo
502 503
      *  @public function getClassHandler
503 504
      *
504 505
      *  @param string $moduleDirname
505
-     *  @param string $tableName
506
+     *  @param string $table
506 507
      *  @param string $fieldId
507 508
      *  @param string $fieldMain
508 509
      *
@@ -594,8 +595,8 @@  discard block
 block discarded – undo
594 595
      *  @public function getClassCounter
595 596
      *
596 597
      *  @param $tableName
597
-     *  @param $fieldId
598
-     *  @param $fieldMain
598
+     *  @param string $fieldId
599
+     *  @param string $fieldMain
599 600
      *
600 601
      *  @return string
601 602
      */
@@ -622,8 +623,8 @@  discard block
 block discarded – undo
622 623
      *  @public function getClassAll
623 624
      *
624 625
      *  @param $tableName
625
-     *  @param $fieldId
626
-     *  @param $fieldMain
626
+     *  @param string $fieldId
627
+     *  @param string $fieldMain
627 628
      *
628 629
      *  @return string
629 630
      */
@@ -650,9 +651,10 @@  discard block
 block discarded – undo
650 651
      *  @public function getClassByCategory
651 652
      *
652 653
      *  @param $tableName
653
-     *  @param $fieldId
654
-     *  @param $fieldMain
654
+     *  @param string $fieldId
655
+     *  @param string $fieldMain
655 656
      *  @param $fieldParent
657
+     * @param string $moduleDirname
656 658
      *
657 659
      *  @return string
658 660
      */
@@ -727,8 +729,9 @@  discard block
 block discarded – undo
727 729
     /**
728 730
      *  @public function getClassGetTableSolenameById
729 731
      *
730
-     *  @param $moduleDirname
732
+     *  @param string $moduleDirname
731 733
      *  @param $table
734
+     * @param string $fieldMain
732 735
      *
733 736
      *  @return string
734 737
      */
Please login to merge, or discard this patch.
class/files/classes/ClassFormElements.php 2 patches
Doc Comments   +70 added lines patch added patch discarded remove patch
@@ -49,6 +49,11 @@  discard block
 block discarded – undo
49 49
      * @param $module
50 50
      * @param $table
51 51
      */
52
+
53
+    /**
54
+     * @param string $module
55
+     * @param string $table
56
+     */
52 57
     public function initForm($module, $table)
53 58
     {
54 59
         $this->setModule($module);
@@ -64,6 +69,10 @@  discard block
 block discarded – undo
64 69
      *
65 70
      * @return string
66 71
      */
72
+
73
+    /**
74
+     * @param string $language
75
+     */
67 76
     private function getXoopsFormText($language, $fieldName, $fieldDefault, $required = 'false')
68 77
     {
69 78
         $tf = TDMCreateFile::getInstance();
@@ -94,6 +103,10 @@  discard block
 block discarded – undo
94 103
      *
95 104
      * @return string
96 105
      */
106
+
107
+    /**
108
+     * @param string $language
109
+     */
97 110
     private function getXoopsFormTextArea($language, $fieldName, $required = 'false')
98 111
     {
99 112
         $tf = TDMCreateFile::getInstance();
@@ -117,6 +130,10 @@  discard block
 block discarded – undo
117 130
      *
118 131
      * @return string
119 132
      */
133
+
134
+    /**
135
+     * @param string $language
136
+     */
120 137
     private function getXoopsFormDhtmlTextArea($language, $moduleDirname, $fieldName, $required = 'false')
121 138
     {
122 139
         $tf = TDMCreateFile::getInstance();
@@ -149,6 +166,10 @@  discard block
 block discarded – undo
149 166
      *
150 167
      * @return string
151 168
      */
169
+
170
+    /**
171
+     * @param string $language
172
+     */
152 173
     private function getXoopsFormCheckBox($language, $tableSoleName, $fieldName, $fieldElementId, $required = 'false')
153 174
     {
154 175
         $tf = TDMCreateFile::getInstance();
@@ -213,6 +234,10 @@  discard block
 block discarded – undo
213 234
      *
214 235
      * @return string
215 236
      */
237
+
238
+    /**
239
+     * @param string $language
240
+     */
216 241
     private function getXoopsFormImageList($language, $moduleDirname, $tableName, $tableSoleName, $fieldName, $required = 'false')
217 242
     {
218 243
         $tf = TDMCreateFile::getInstance();
@@ -264,6 +289,10 @@  discard block
 block discarded – undo
264 289
      *
265 290
      * @return string
266 291
      */
292
+
293
+    /**
294
+     * @param string $language
295
+     */
267 296
     private function getXoopsFormSelectFile($language, $moduleDirname, $fieldName, $required = 'false')
268 297
     {
269 298
         $tf = TDMCreateFile::getInstance();
@@ -316,6 +345,10 @@  discard block
 block discarded – undo
316 345
      *
317 346
      * @return string
318 347
      */
348
+
349
+    /**
350
+     * @param string $language
351
+     */
319 352
     private function getXoopsFormUrlFile($language, $moduleDirname, $fieldName, $fieldDefault, $required = 'false')
320 353
     {
321 354
         $pc = TDMCreatePhpCode::getInstance();
@@ -345,6 +378,10 @@  discard block
 block discarded – undo
345 378
      *
346 379
      * @return string
347 380
      */
381
+
382
+    /**
383
+     * @param string $language
384
+     */
348 385
     private function getXoopsFormUploadImage($language, $moduleDirname, $tableName, $tableSoleName, $fieldName, $required = 'false')
349 386
     {
350 387
         $tf = TDMCreateFile::getInstance();
@@ -396,6 +433,10 @@  discard block
 block discarded – undo
396 433
      *
397 434
      * @return string
398 435
      */
436
+
437
+    /**
438
+     * @param string $language
439
+     */
399 440
     private function getXoopsFormUploadFile($language, $moduleDirname, $tableName, $fieldName, $required = 'false')
400 441
     {
401 442
         $pc = TDMCreatePhpCode::getInstance();
@@ -421,6 +462,10 @@  discard block
 block discarded – undo
421 462
      *
422 463
      * @return string
423 464
      */
465
+
466
+    /**
467
+     * @param string $language
468
+     */
424 469
     private function getXoopsFormColorPicker($language, $moduleDirname, $fieldName, $required = 'false')
425 470
     {
426 471
         $pc = TDMCreatePhpCode::getInstance();
@@ -446,6 +491,10 @@  discard block
 block discarded – undo
446 491
      *
447 492
      * @return string
448 493
      */
494
+
495
+    /**
496
+     * @param string $language
497
+     */
449 498
     private function getXoopsFormSelectBox($language, $moduleDirname, $tableName, $fieldName, $required = 'false')
450 499
     {
451 500
         $tf = TDMCreateFile::getInstance();
@@ -475,6 +524,10 @@  discard block
 block discarded – undo
475 524
      *
476 525
      * @return string
477 526
      */
527
+
528
+    /**
529
+     * @param string $language
530
+     */
478 531
     private function getXoopsFormSelectUser($language, $moduleDirname, $fieldName, $required = 'false')
479 532
     {
480 533
         $pc = TDMCreatePhpCode::getInstance();
@@ -498,6 +551,10 @@  discard block
 block discarded – undo
498 551
      *
499 552
      * @return string
500 553
      */
554
+
555
+    /**
556
+     * @param string $language
557
+     */
501 558
     private function getXoopsFormRadioYN($language, $fieldName, $required = 'false')
502 559
     {
503 560
         $tf = TDMCreateFile::getInstance();
@@ -522,6 +579,10 @@  discard block
 block discarded – undo
522 579
      *
523 580
      * @return string
524 581
      */
582
+
583
+    /**
584
+     * @param string $language
585
+     */
525 586
     private function getXoopsFormTextDateSelect($language, $fieldName, $required = 'false')
526 587
     {
527 588
         $tf = TDMCreateFile::getInstance();
@@ -549,6 +610,10 @@  discard block
 block discarded – undo
549 610
      *
550 611
      * @return string
551 612
      */
613
+
614
+    /**
615
+     * @param string $language
616
+     */
552 617
     private function getXoopsFormTable($language, $moduleDirname, $tableName, $fieldName, $fieldElement, $required = 'false')
553 618
     {
554 619
         $tc = TDMCreateHelper::getInstance();
@@ -583,6 +648,11 @@  discard block
 block discarded – undo
583 648
      *
584 649
      * @return string
585 650
      */
651
+
652
+    /**
653
+     * @param string $language
654
+     * @param string $topicTableName
655
+     */
586 656
     private function getXoopsFormTopic($language, $moduleDirname, $topicTableName, $fieldId, $fieldPid, $fieldMain, $required = 'false')
587 657
     {
588 658
         $tf = TDMCreateFile::getInstance();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,9 +130,9 @@
 block discarded – undo
130 130
         $ret .= $pc->getPhpCodeArray('editorConfigs', null, false, "\t\t");
131 131
         $getConfig = $xc->getXcGetConfig($moduleDirname, $moduleDirname.'_editor_'.$rpFieldName);
132 132
         $configs = array('name' => "'{$fieldName}'", 'value' => "\$this->getVar('{$fieldName}', 'e')", 'rows' => 5, 'cols' => 40,
133
-                        'width' => "'100%'", 'height' => "'400px'", 'editor' => $getConfig, );
133
+                        'width' => "'100%'", 'height' => "'400px'", 'editor' => $getConfig,);
134 134
         foreach ($configs as $c => $d) {
135
-            $ret .= $xc->getXcEqualsOperator("\$editorConfigs['{$c}']", $d,  null, false, "\t\t");
135
+            $ret .= $xc->getXcEqualsOperator("\$editorConfigs['{$c}']", $d, null, false, "\t\t");
136 136
         }
137 137
         $formEditor = $cc->getClassXoopsFormEditor('', $language, $fieldName, 'editorConfigs', true);
138 138
         $ret .= $cc->getClassAddElement('form', $formEditor.$required);
Please login to merge, or discard this patch.
class/files/docs/DocsFiles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     *  @param null
254 254
     */
255 255
     /**
256
-     * @return bool|string
256
+     * @return null|string
257 257
      */
258 258
     public function render()
259 259
     {
Please login to merge, or discard this patch.
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.