Completed
Push — master ( fc5d0d...dc1f79 )
by Goffy
02:28
created
class/files/TDMCreateXoopsCode.php 1 patch
Doc Comments   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     *  @public function getXcEqualsOperator
67 67
     *  @param $var
68 68
     *  @param $value
69
-    *  @param $interlock
69
+    *  @param boolean|string $interlock
70 70
     *  @param $ref
71 71
     *  @param $t - Indentation
72 72
     *
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      *  @public function getXcLoadLanguage
120 120
      *
121
-     *  @param $lang
121
+     *  @param string $lang
122 122
      * @param $t
123 123
      *
124 124
      *  @return string
@@ -130,9 +130,9 @@  discard block
 block discarded – undo
130 130
 
131 131
     /**
132 132
     *  @public function getXcAnchorFunction
133
-    *  @param $anchor
134
-    *  @param $name
135
-    *  @param $vars
133
+    *  @param string $anchor
134
+    *  @param string $name
135
+    *  @param string $vars
136 136
     *  @param $close
137 137
     *
138 138
     *  @return string
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
      * @param string $var
215 215
      * @param string $anchor
216 216
      * @param        $param1
217
-     * @param        $param2
218
-     * @param        $param3
217
+     * @param        string $param2
218
+     * @param        string $param3
219 219
      * @param string $t
220 220
      * @return string
221 221
      */
@@ -229,8 +229,8 @@  discard block
 block discarded – undo
229 229
      * @param string $var
230 230
      * @param string $anchor
231 231
      * @param        $param1
232
-     * @param        $param2
233
-     * @param        $param3
232
+     * @param        string $param2
233
+     * @param        string $param3
234 234
      * @param string $t
235 235
      * @return string
236 236
      */
@@ -273,8 +273,8 @@  discard block
 block discarded – undo
273 273
 
274 274
     /**
275 275
     *  @public function getXcMediaUploader
276
-    *  @param $var
277
-    *  @param $dirPath
276
+    *  @param string $var
277
+    *  @param string $dirPath
278 278
     *  @param $moduleDirname
279 279
      * @param $t
280 280
     *  @return string
@@ -314,8 +314,8 @@  discard block
 block discarded – undo
314 314
 
315 315
     /**
316 316
     *  @public function getXcXoopsImgListArray
317
-    *  @param $return
318
-    *  @param $var
317
+    *  @param string $return
318
+    *  @param string $var
319 319
     *  @param $t
320 320
     *
321 321
     *  @return string
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     /**
329 329
     *  @public function getXcGetConfig
330 330
     *  @param $moduleDirname
331
-    *  @param $name
331
+    *  @param string $name
332 332
     *  @return string
333 333
     */
334 334
     public function getXcGetConfig($moduleDirname, $name)
@@ -847,11 +847,11 @@  discard block
 block discarded – undo
847 847
     /**
848 848
      * @public function getXcGetInfo
849 849
      *
850
-     * @param        $left
851
-     * @param        $string
850
+     * @param        string string
851
+     * @param        string $string
852 852
      * @param bool   $isParam
853 853
      *
854
-     * @param string $t
854
+     * @param string string
855 855
      * @return string
856 856
      */
857 857
     public function getXcGetInfo($left, $string, $isParam = false, $t = '')
@@ -868,7 +868,7 @@  discard block
 block discarded – undo
868 868
     /**
869 869
      * @public function getXcAddRight
870 870
      *
871
-     * @param        $anchor
871
+     * @param        string $anchor
872 872
      * @param string $permString
873 873
      * @param string $var
874 874
      * @param string $groups
@@ -892,7 +892,7 @@  discard block
 block discarded – undo
892 892
     /**
893 893
      * @public function getXcCheckRight
894 894
      *
895
-     * @param        $anchor
895
+     * @param        string $anchor
896 896
      * @param string $permString
897 897
      * @param string $var
898 898
      * @param string $groups
@@ -944,7 +944,7 @@  discard block
 block discarded – undo
944 944
 
945 945
     /**
946 946
      *  @public function getXcClearCount
947
-     * @param  $left
947
+     * @param  string $left
948 948
      *  @param $anchor
949 949
      *  @param  $params
950 950
      *  @param $t
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
 
982 982
     /**
983 983
      * @public function getXcClearHandlerAll
984
-     * @param        $left
984
+     * @param        string $left
985 985
      * @param string $anchor
986 986
      * @param string $params
987 987
      * @param string $t
@@ -1107,7 +1107,7 @@  discard block
 block discarded – undo
1107 1107
     /**
1108 1108
      * @public function getXcRedirectHeader
1109 1109
      * @param        $directory
1110
-     * @param        $options
1110
+     * @param        string $options
1111 1111
      * @param        $numb
1112 1112
      * @param        $var
1113 1113
      * @param bool   $isString
@@ -1209,7 +1209,7 @@  discard block
 block discarded – undo
1209 1209
     /**
1210 1210
      * @public function getXcObjHandlerCount
1211 1211
      *
1212
-     * @param        $left
1212
+     * @param        string $left
1213 1213
      * @param        $tableName
1214 1214
      * @param string $obj
1215 1215
      *
Please login to merge, or discard this patch.
class/files/templates/admin/TemplatesAdminPages.php 1 patch
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 string $table
59
-     * @param        $filename
59
+     * @param        string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     /**
262 262
     *  @public function render
263 263
     *  @param null
264
-    *  @return bool|string
264
+    *  @return null|string
265 265
     */
266 266
     public function render()
267 267
     {
Please login to merge, or discard this patch.
class/files/templates/blocks/TemplatesBlocks.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * @param string $moduleDirname
94 94
      * @param        $tableId
95 95
      * @param        $tableMid
96
-     * @param        $tableName
96
+     * @param        string $tableName
97 97
      * @param        $tableSoleName
98 98
      * @param        $tableAutoincrement
99 99
      * @param string $language
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      * @public function render
208 208
      * @param null
209 209
      *
210
-     * @return bool|string
210
+     * @return null|string
211 211
      */
212 212
     public function render()
213 213
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserCategories.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     *  @param string $moduleDirname
174 174
     *  @param string $tableName
175 175
      * @param $tableSoleName
176
-     * @param $language
176
+     * @param string $language
177 177
      * @return string
178 178
      */
179 179
     private function getTemplatesUserCategoriesPanel($moduleDirname, $tableName, $tableSoleName, $language)
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 
221 221
     /**
222 222
     *  @public function render
223
-     * @return bool|string
223
+     * @return null|string
224 224
      *
225 225
      */
226 226
     public function render()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserIndex.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @public function write
57
-     * @param $module
57
+     * @param string $module
58 58
      * @param $table
59 59
      * @param $tables
60
-     * @param $filename
60
+     * @param string $filename
61 61
      */
62 62
     public function write($module, $table, $tables, $filename)
63 63
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     *  @public function getTemplatesUserIndexBodyDefault
156 156
      * @param $module
157 157
      * @param $table
158
-     * @param $language
158
+     * @param string $language
159 159
      * @return bool|string
160 160
      */
161 161
     public function getTemplatesUserIndexBodyDefault($module, $table, $language)
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      * @param $moduleDirname
210 210
      * @param $tableName
211 211
      * @param $tableSoleName
212
-     * @param $language
212
+     * @param string $language
213 213
      * @return bool|string
214 214
      */
215 215
     public function getTemplateUserIndexCategories($moduleDirname, $tableName, $tableSoleName, $language)
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      * @param $moduleDirname
261 261
      * @param $tableName
262 262
      * @param $tableSoleName
263
-     * @param $language
263
+     * @param string $language
264 264
      * @return bool|string
265 265
      */
266 266
     public function getTemplateUserIndexTable($moduleDirname, $tableName, $tableSoleName, $language)
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
     /**
306 306
     *  @public function render
307 307
     *  @param null
308
-     * @return bool|string
308
+     * @return null|string
309 309
      */
310 310
     public function render()
311 311
     {
Please login to merge, or discard this patch.
class/files/user/UserBroken.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      *  @public function write
57
-     *  @param $module
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
     {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      *  @param $tableName
177 177
      *  @param $tableSoleName
178 178
      *  @param $tableAutoincrement
179
-     *  @param $language
179
+     *  @param string $language
180 180
      * @return bool|string
181 181
       */
182 182
     private function getUserBrokenSwitch($moduleDirname, $tableName, $tableSoleName, $tableAutoincrement, $language)
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     /**
196 196
      *  @public function render
197 197
      *  @param null
198
-     * @return bool|string
198
+     * @return null|string
199 199
      */
200 200
     public function render()
201 201
     {
Please login to merge, or discard this patch.
class/files/user/UserPdf.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param $moduleDirname
84 84
      * @param $tableName
85 85
      * @param $fields
86
-     * @param $language
86
+     * @param string $language
87 87
      * @return string
88 88
      */
89 89
     private function getUserPdfHeader($moduleDirname, $tableName, $fields, $language)
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     /**
215 215
     *  @public function render
216 216
     *  @param null
217
-     * @return bool|string
217
+     * @return null|string
218 218
      */
219 219
     public function render()
220 220
     {
Please login to merge, or discard this patch.
class/files/user/UserXoopsCode.php 1 patch
Doc Comments   +3 added lines, -3 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
      * @param string $t
68 68
      * @return string
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      *
129 129
      * @param $moduleDirname
130 130
      *
131
-     * @param $language
131
+     * @param string $language
132 132
      * @return string
133 133
      */
134 134
     public function getUserBreadcrumbsHeaderFile($moduleDirname, $language)
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      *
165 165
      * @param int    $eleArray
166 166
      * @param        $descriptions
167
-     * @param null   $name
167
+     * @param string   $name
168 168
      * @param null   $index
169 169
      * @param bool   $num
170 170
      * @param string $t
Please login to merge, or discard this patch.
class/files/user/UserXoopsVersion.php 1 patch
Doc Comments   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
 
60 60
     /**
61 61
     *  @public function write
62
-    *  @param $module
62
+    *  @param string $module
63 63
     *  @param mixed $table
64 64
     *  @param mixed $tables
65
-    *  @param $filename
65
+    *  @param string $filename
66 66
      */
67 67
     public function write($module, $table, $tables, $filename)
68 68
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * @private function getXoopsVersionHeader
104 104
      * @param $module
105
-     * @param $language
105
+     * @param string $language
106 106
      *
107 107
      * @return string
108 108
      */
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 
325 325
     /**
326 326
     *  @private function getXoopsVersionSubmenu
327
-       * @param $language
327
+       * @param string $language
328 328
      * @param $tables
329 329
      * @return string
330 330
      */
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     *  @private function getXoopsVersionBlocks
360 360
       * @param $moduleDirname
361 361
      * @param $tables
362
-     * @param $language
362
+     * @param string $language
363 363
      * @return string
364 364
      */
365 365
     private function getXoopsVersionBlocks($moduleDirname, $tables, $language)
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     *  @private function getXoopsVersionTypeBlocks
393 393
      * @param $moduleDirname
394 394
      * @param $tableName
395
-     * @param $stuTableSoleName
395
+     * @param string $stuTableSoleName
396 396
      * @param $language
397 397
      * @param $type
398 398
      * @return string
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
     *  @private function getXoopsVersionConfig
418 418
      * @param $module
419 419
      * @param $table
420
-     * @param $language
420
+     * @param string $language
421 421
      *
422 422
      * @return string
423 423
      */
@@ -606,7 +606,7 @@  discard block
 block discarded – undo
606 606
     /**
607 607
     *  @private function getXoopsVersionNotifications
608 608
      * @param $module
609
-     * @param $language
609
+     * @param string $language
610 610
      * @return string
611 611
      */
612 612
     private function getXoopsVersionNotifications($module, $language)
@@ -696,12 +696,12 @@  discard block
 block discarded – undo
696 696
     /**
697 697
     *  @private function getXoopsVersionNotificationGlobal
698 698
      * @param $language
699
-     * @param $type
700
-     * @param $name
701
-     * @param $title
699
+     * @param string $type
700
+     * @param string $name
701
+     * @param string $title
702 702
      * @param $from
703 703
      *
704
-     * @param $num
704
+     * @param integer $num
705 705
      * @return string
706 706
      */
707 707
     private function getXoopsVersionNotificationGlobal($language, $type, $name, $title, $from, $num)
@@ -721,13 +721,13 @@  discard block
 block discarded – undo
721 721
     /**
722 722
     *  @private function getXoopsVersionNotificationCategory
723 723
      * @param $language
724
-     * @param $type
725
-     * @param $name
726
-     * @param $title
724
+     * @param string $type
725
+     * @param string $name
726
+     * @param string $title
727 727
      * @param $file
728 728
      * @param $item
729
-     * @param $allow
730
-     * @param $num
729
+     * @param string $allow
730
+     * @param integer $num
731 731
      * @return string
732 732
      */
733 733
     private function getXoopsVersionNotificationCategory($language, $type, $name, $title, $file, $item, $allow, $num)
@@ -747,14 +747,14 @@  discard block
 block discarded – undo
747 747
     /**
748 748
     *  @private function getXoopsVersionNotificationTableName
749 749
      * @param $language
750
-     * @param $type
750
+     * @param string $type
751 751
      * @param $name
752 752
      * @param $title
753 753
      * @param $file
754 754
      * @param $item
755
-     * @param $allow
755
+     * @param integer $allow
756 756
      *
757
-     * @param $num
757
+     * @param integer $num
758 758
      * @return string
759 759
      */
760 760
     private function getXoopsVersionNotificationTableName($language, $type, $name, $title, $file, $item, $allow, $num)
@@ -774,15 +774,15 @@  discard block
 block discarded – undo
774 774
     /**
775 775
     *  @private function getXoopsVersionNotifications
776 776
      * @param $language
777
-     * @param $type
778
-     * @param $name
777
+     * @param string $type
778
+     * @param string $name
779 779
      * @param $category
780
-     * @param $admin
780
+     * @param integer $admin
781 781
      * @param $title
782
-     * @param $table
783
-     * @param $mail
782
+     * @param string $table
783
+     * @param string $mail
784 784
      *
785
-     * @param $num
785
+     * @param integer $num
786 786
      * @return string
787 787
      */
788 788
     private function getXoopsVersionNotificationCodeComplete($language, $type, $name, $category, $admin, $title, $table, $mail, $num)
@@ -804,7 +804,7 @@  discard block
 block discarded – undo
804 804
     /**
805 805
     *  @public function render
806 806
     *  @param null
807
-     * @return bool|string
807
+     * @return null|string
808 808
      */
809 809
     public function render()
810 810
     {
Please login to merge, or discard this patch.