Passed
Push — master ( dc1f79...43726e )
by Goffy
02:26
created
class/files/user/UserPrint.php 3 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 class UserPrint extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $uc = null;
34 34
 
35 35
     /**
36
-    * @var string
37
-    */
36
+     * @var string
37
+     */
38 38
     private $xc = null;
39 39
 
40 40
     /**
41
-    *  @public function constructor
42
-    *  @param null
43
-    */
41
+     *  @public function constructor
42
+     *  @param null
43
+     */
44 44
 
45 45
     public function __construct()
46 46
     {
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-    *  @static function getInstance
55
-    *  @param null
54
+     *  @static function getInstance
55
+     *  @param null
56 56
      * @return UserPrint
57 57
      */
58 58
     public static function getInstance()
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @public function write
70
-    *  @param string $module
71
-    *  @param mixed $table
72
-    *  @param string $filename
69
+     *  @public function write
70
+     *  @param string $module
71
+     *  @param mixed $table
72
+     *  @param string $filename
73 73
      */
74 74
     public function write($module, $table, $filename)
75 75
     {
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-    *  @public function getUserPrint
83
-    *  @param string $moduleDirname
84
-    *  @param string $language
82
+     *  @public function getUserPrint
83
+     *  @param string $moduleDirname
84
+     *  @param string $language
85 85
      *
86 86
      * @return string
87 87
      */
@@ -160,8 +160,8 @@  discard block
 block discarded – undo
160 160
     }
161 161
 
162 162
     /**
163
-    *  @public function render
164
-    *  @param null
163
+     *  @public function render
164
+     *  @param null
165 165
      * @return bool|string
166 166
      */
167 167
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
             if (strpos($fieldName, '_')) {
101 101
                 $str = strpos($fieldName, '_');
102 102
                 if (false !== $str) {
103
-                    $rpFieldName = substr($fieldName, $str + 1, strlen($fieldName));
103
+                    $rpFieldName = substr($fieldName, $str+1, strlen($fieldName));
104 104
                 }
105 105
             }
106 106
             if ((0 == $f) && (1 == $this->table->getVar('table_autoincrement'))) {
Please login to merge, or discard this patch.
class/files/user/UserVisit.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 class UserVisit extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $uc = null;
34 34
 
35 35
     /**
36
-    * @var string
37
-    */
36
+     * @var string
37
+     */
38 38
     private $xc = null;
39 39
 
40 40
     /**
41
-    *  @public function constructor
42
-    *  @param null
43
-    */
41
+     *  @public function constructor
42
+     *  @param null
43
+     */
44 44
 
45 45
     public function __construct()
46 46
     {
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-    *  @static function getInstance
55
-    *  @param null
54
+     *  @static function getInstance
55
+     *  @param null
56 56
      * @return UserVisit
57 57
      */
58 58
     public static function getInstance()
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @public function write
70
-    *  @param string $module
71
-    *  @param mixed $table
72
-    *  @param string $filename
69
+     *  @public function write
70
+     *  @param string $module
71
+     *  @param mixed $table
72
+     *  @param string $filename
73 73
      */
74 74
     public function write($module, $table, $filename)
75 75
     {
@@ -151,8 +151,8 @@  discard block
 block discarded – undo
151 151
     }
152 152
 
153 153
     /**
154
-    *  @public function render
155
-    *  @param null
154
+     *  @public function render
155
+     *  @param null
156 156
      * @return bool|string
157 157
      */
158 158
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/user/UserPages.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserPages 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 UserPages
44 44
      */
45 45
     public static function getInstance()
@@ -171,8 +171,8 @@  discard block
 block discarded – undo
171 171
     }
172 172
 
173 173
     /**
174
-    *  @public function render
175
-    *  @param null
174
+     *  @public function render
175
+     *  @param null
176 176
      * @return bool|string
177 177
      */
178 178
     public function render()
Please login to merge, or discard this 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 $table
59
-     * @param $filename
59
+     * @param string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @param $moduleDirname
145 145
      * @param $tableName
146 146
      * @param $tableSoleName
147
-     * @param $language
147
+     * @param string $language
148 148
      *
149 149
      * @return string
150 150
      */
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
     *  @public function render
175 175
     *  @param null
176
-     * @return bool|string
176
+     * @return null|string
177 177
      */
178 178
     public function render()
179 179
     {
Please login to merge, or discard this patch.
class/files/user/UserRate.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-    *  @public function write
62
-    *  @param string $module
63
-    *  @param mixed $table
64
-    *  @param string $filename
61
+     *  @public function write
62
+     *  @param string $module
63
+     *  @param mixed $table
64
+     *  @param string $filename
65 65
      */
66 66
     public function write($module, $table, $filename)
67 67
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-    *  @public function getUserRateSave
141
+     *  @public function getUserRateSave
142 142
      * @param $moduleDirname
143 143
      * @param $fields
144 144
      * @param $tableName
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     }
175 175
 
176 176
     /**
177
-    *  @public function getUserRateFooter
177
+     *  @public function getUserRateFooter
178 178
      * @param $moduleDirname
179 179
      * @param $language
180 180
      * @return string
@@ -190,8 +190,8 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-    *  @public function render
194
-    *  @param null
193
+     *  @public function render
194
+     *  @param null
195 195
      * @return bool|string
196 196
      */
197 197
     public function render()
Please login to merge, or discard this 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/UserFooter.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserFooter 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 UserFooter
44 44
      */
45 45
     public static function getInstance()
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param string $filename
59 59
      */
60 60
     public function write($module, $filename)
61 61
     {
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @private function getUserFooter
68
-    *  @param $moduleDirname
69
-    *
70
-    *  @return string
71
-    */
67
+     *  @private function getUserFooter
68
+     *  @param $moduleDirname
69
+     *
70
+     *  @return string
71
+     */
72 72
     private function getUserFooter($moduleDirname)
73 73
     {
74 74
         $xc = TDMCreateXoopsCode::getInstance();
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-    *  @public function render
94
-    *  @param null
93
+     *  @public function render
94
+     *  @param null
95 95
      * @return bool|string
96 96
      */
97 97
     public function render()
Please login to merge, or discard this patch.
class/files/user/UserViewTag.php 2 patches
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 UserViewTag 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
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return UserViewTag
45 45
      */
46 46
     public static function getInstance()
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $filename)
62 62
     {
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @public function getUserViewTag
69
-    *  @param null
68
+     *  @public function getUserViewTag
69
+     *  @param null
70 70
      * @return string
71 71
      *
72 72
      */
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-    *  @public function render
83
-    *  @param null
82
+     *  @public function render
83
+     *  @param null
84 84
      * @return bool|string
85 85
      */
86 86
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/user/UserHeader.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserHeader 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 UserHeader
44 44
      */
45 45
     public static function getInstance()
@@ -53,11 +53,11 @@  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 array $tables
60
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param mixed $table
59
+     *  @param array $tables
60
+     *  @param string $filename
61 61
      */
62 62
     public function write($module, $table, $tables, $filename)
63 63
     {
@@ -68,11 +68,11 @@  discard block
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-    *  @private function getUserHeader
72
-    *  @param $moduleDirname
73
-    *
74
-    *  @return string
75
-    */
71
+     *  @private function getUserHeader
72
+     *  @param $moduleDirname
73
+     *
74
+     *  @return string
75
+     */
76 76
     private function getUserHeader($moduleDirname)
77 77
     {
78 78
         $stuModuleDirname = strtoupper($moduleDirname);
@@ -124,8 +124,8 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-    *  @public function render
128
-    *  @param null
127
+     *  @public function render
128
+     *  @param null
129 129
      * @return bool|string
130 130
      */
131 131
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/user/UserSingle.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserSingle 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 UserSingle
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
     {
@@ -150,8 +150,8 @@  discard block
 block discarded – undo
150 150
     }
151 151
 
152 152
     /**
153
-    *  @public function render
154
-    *  @param null
153
+     *  @public function render
154
+     *  @param null
155 155
      * @return bool|string
156 156
      */
157 157
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @public function getUserSingleBody
106 106
      * @param $moduleDirname
107 107
      * @param $tableName
108
-     * @param $language
108
+     * @param string $language
109 109
      *
110 110
      * @return string
111 111
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @private function getUserSingleFooter
124 124
      * @param $moduleDirname
125 125
      * @param $tableName
126
-     * @param $language
126
+     * @param string $language
127 127
      *
128 128
      * @return string
129 129
      */
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
     *  @public function render
154 154
     *  @param null
155
-     * @return bool|string
155
+     * @return null|string
156 156
      */
157 157
     public function render()
158 158
     {
Please login to merge, or discard this patch.
class/files/user/UserIndex.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserIndex 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 UserIndex
44 44
      */
45 45
     public static function getInstance()
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-    *  @public function render
238
-    *  @param null
237
+     *  @public function render
238
+     *  @param null
239 239
      * @return bool|string
240 240
      */
241 241
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * @param $tableName
153 153
      * @param $tableSoleName
154 154
      * @param $tableFieldname
155
-     * @param $language
155
+     * @param string $language
156 156
      * @return string
157 157
      */
158 158
     private function getBodyPagesIndex($moduleDirname, $tableName, $tableSoleName, $tableFieldname, $language)
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     /**
210 210
      * @private  function getUserPagesFooter
211 211
      * @param $moduleDirname
212
-     * @param $language
212
+     * @param string $language
213 213
      * @return string
214 214
      */
215 215
     private function getUserIndexFooter($moduleDirname, $language)
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     /**
237 237
     *  @public function render
238 238
     *  @param null
239
-     * @return bool|string
239
+     * @return null|string
240 240
      */
241 241
     public function render()
242 242
     {
Please login to merge, or discard this patch.