Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
class/files/user/UserPdf.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param $moduleDirname
94 94
      * @param $tableName
95
+     * @param string $language
95 96
      *
96 97
      * @return string
97 98
      */
@@ -231,7 +232,7 @@  discard block
 block discarded – undo
231 232
     *  @param null
232 233
     */
233 234
     /**
234
-     * @return bool|string
235
+     * @return null|string
235 236
      */
236 237
     public function render()
237 238
     {
Please login to merge, or discard this patch.
class/files/user/UserRate.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -119,6 +119,10 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @return string
121 121
      */
122
+
123
+    /**
124
+     * @param string $language
125
+     */
122 126
     private function getUserRateSwitch($moduleDirname, $tableId, $tableMid, $tableName, $tableAutoincrement, $language)
123 127
     {
124 128
         $fields = $this->getTableFields($tableMid, $tableId);
@@ -197,6 +201,7 @@  discard block
 block discarded – undo
197 201
     *  @param null
198 202
     */
199 203
     /**
204
+     * @param string $language
200 205
      * @return string
201 206
      */
202 207
     public function getUserRateFooter($moduleDirname, $language)
@@ -214,7 +219,7 @@  discard block
 block discarded – undo
214 219
     *  @param null
215 220
     */
216 221
     /**
217
-     * @return bool|string
222
+     * @return null|string
218 223
      */
219 224
     public function render()
220 225
     {
Please login to merge, or discard this patch.
class/files/user/UserRss.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     */
95 95
     /**
96 96
      * @param $moduleDirname
97
-     * @param $language
97
+     * @param string $language
98 98
      *
99 99
      * @return string
100 100
      */
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     *  @param null
217 217
     */
218 218
     /**
219
-     * @return bool|string
219
+     * @return null|string
220 220
      */
221 221
     public function render()
222 222
     {
Please login to merge, or discard this patch.
class/files/user/UserSingle.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,9 +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 $filename
68
+     * @param string $filename
69 69
      */
70 70
     public function write($module, $table, $filename)
71 71
     {
@@ -118,6 +118,10 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @return string
120 120
      */
121
+
122
+    /**
123
+     * @param string $language
124
+     */
121 125
     public function getUserSingleBody($moduleDirname, $tableName, $language)
122 126
     {
123 127
         $ret = <<<EOT
@@ -133,7 +137,7 @@  discard block
 block discarded – undo
133 137
      *
134 138
      * @param $moduleDirname
135 139
      * @param $tableName
136
-     * @param $language
140
+     * @param string $language
137 141
      *
138 142
      * @return string
139 143
      */
@@ -164,7 +168,7 @@  discard block
 block discarded – undo
164 168
     *  @param null
165 169
     */
166 170
     /**
167
-     * @return bool|string
171
+     * @return null|string
168 172
      */
169 173
     public function render()
170 174
     {
Please login to merge, or discard this patch.
class/files/user/UserVisit.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     *  @param null
164 164
     */
165 165
     /**
166
-     * @return bool|string
166
+     * @return null|string
167 167
      */
168 168
     public function render()
169 169
     {
Please login to merge, or discard this patch.
class/files/user/UserXoopsCode.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @param string $type
64 64
      * @param        $language
65
-     * @param        $tableName
65
+     * @param        string $tableName
66 66
      *
67 67
      * @return string
68 68
      */
@@ -126,6 +126,7 @@  discard block
 block discarded – undo
126 126
      *  @public function getUserBreadcrumbs
127 127
      *
128 128
      * @param $moduleDirname
129
+     * @param string $language
129 130
      *
130 131
      * @return string
131 132
      */
@@ -162,7 +163,7 @@  discard block
 block discarded – undo
162 163
      *
163 164
      * @param int    $eleArray
164 165
      * @param        $descriptions
165
-     * @param null   $name
166
+     * @param string   $name
166 167
      * @param null   $index
167 168
      * @param bool   $num
168 169
      * @param string $t
Please login to merge, or discard this patch.
class/files/user/UserXoopsVersion.php 1 patch
Doc Comments   +28 added lines, -17 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@  discard block
 block discarded – undo
69 69
     *  @param $filename
70 70
     */
71 71
     /**
72
-     * @param $module
72
+     * @param string $module
73 73
      * @param $table
74 74
      * @param $tables
75
-     * @param $filename
75
+     * @param string $filename
76 76
      */
77 77
     public function write($module, $table, $tables, $filename)
78 78
     {
@@ -121,6 +121,10 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @return string
123 123
      */
124
+
125
+    /**
126
+     * @param string $language
127
+     */
124 128
     private function getXoopsVersionHeader($module, $language)
125 129
     {
126 130
         $xCodeVHeader = TDMCreateXoopsCode::getInstance();
@@ -359,7 +363,7 @@  discard block
 block discarded – undo
359 363
     *  @param $language
360 364
     */
361 365
     /**
362
-     * @param $language
366
+     * @param string $language
363 367
      *
364 368
      * @return string
365 369
      */
@@ -397,7 +401,7 @@  discard block
 block discarded – undo
397 401
     */
398 402
     /**
399 403
      * @param $moduleDirname
400
-     * @param $language
404
+     * @param string $language
401 405
      *
402 406
      * @return string
403 407
      */
@@ -435,6 +439,7 @@  discard block
 block discarded – undo
435 439
     /**
436 440
      * @param $moduleDirname
437 441
      * @param $language
442
+     * @param string $stuTableSoleName
438 443
      *
439 444
      * @return string
440 445
      */
@@ -462,7 +467,7 @@  discard block
 block discarded – undo
462 467
     /**
463 468
      * @param $module
464 469
      * @param $table
465
-     * @param $language
470
+     * @param string $language
466 471
      *
467 472
      * @return string
468 473
      */
@@ -660,7 +665,7 @@  discard block
 block discarded – undo
660 665
     */
661 666
     /**
662 667
      * @param $moduleDirname
663
-     * @param $language
668
+     * @param string $language
664 669
      *
665 670
      * @return string
666 671
      */
@@ -753,10 +758,11 @@  discard block
 block discarded – undo
753 758
     */
754 759
     /**
755 760
      * @param $language
756
-     * @param $type
757
-     * @param $name
758
-     * @param $title
761
+     * @param string $type
762
+     * @param string $name
763
+     * @param string $title
759 764
      * @param $from
765
+     * @param integer $num
760 766
      *
761 767
      * @return string
762 768
      */
@@ -779,10 +785,12 @@  discard block
 block discarded – undo
779 785
     */
780 786
     /**
781 787
      * @param $language
782
-     * @param $type
783
-     * @param $name
784
-     * @param $title
788
+     * @param string $type
789
+     * @param string $name
790
+     * @param string $title
785 791
      * @param $from
792
+     * @param string $allow
793
+     * @param integer $num
786 794
      *
787 795
      * @return string
788 796
      */
@@ -805,12 +813,13 @@  discard block
 block discarded – undo
805 813
     */
806 814
     /**
807 815
      * @param $language
808
-     * @param $type
816
+     * @param string $type
809 817
      * @param $name
810 818
      * @param $title
811 819
      * @param $file
812 820
      * @param $item
813 821
      * @param $allow
822
+     * @param integer $num
814 823
      *
815 824
      * @return string
816 825
      */
@@ -833,12 +842,14 @@  discard block
 block discarded – undo
833 842
     */
834 843
     /**
835 844
      * @param $language
836
-     * @param $type
837
-     * @param $name
845
+     * @param string $type
846
+     * @param string $name
838 847
      * @param $title
839 848
      * @param $from
840 849
      * @param $item
841
-     * @param $mail
850
+     * @param string $mail
851
+     * @param string $table
852
+     * @param integer $num
842 853
      *
843 854
      * @return string
844 855
      */
@@ -863,7 +874,7 @@  discard block
 block discarded – undo
863 874
     *  @param null
864 875
     */
865 876
     /**
866
-     * @return bool|string
877
+     * @return null|string
867 878
      */
868 879
     public function render()
869 880
     {
Please login to merge, or discard this patch.
class/files/admin/AdminAbout.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
67
-     * @param $filename
66
+     * @param string $module
67
+     * @param string $filename
68 68
      */
69 69
     public function write($module, $filename)
70 70
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     *  @param null
78 78
     */
79 79
     /**
80
-     * @return bool|string
80
+     * @return null|string
81 81
      */
82 82
     public function render()
83 83
     {
Please login to merge, or discard this patch.
class/files/admin/AdminFooter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
67
-     * @param $filename
66
+     * @param string $module
67
+     * @param string $filename
68 68
      */
69 69
     public function write($module, $filename)
70 70
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     *  @param null
78 78
     */
79 79
     /**
80
-     * @return bool|string
80
+     * @return null|string
81 81
      */
82 82
     public function render()
83 83
     {
Please login to merge, or discard this patch.