Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
class/files/templates/user/TemplatesUserRate.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,8 +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 string $filename
68 69
      */
69 70
     public function write($module, $table, $filename)
70 71
     {
@@ -82,7 +83,7 @@  discard block
 block discarded – undo
82 83
     /**
83 84
      * @param $moduleDirname
84 85
      * @param $table
85
-     * @param $language
86
+     * @param string $language
86 87
      *
87 88
      * @return string
88 89
      */
@@ -121,7 +122,7 @@  discard block
 block discarded – undo
121 122
     /**
122 123
      * @param $moduleDirname
123 124
      * @param $table
124
-     * @param $language
125
+     * @param string $language
125 126
      *
126 127
      * @return string
127 128
      */
@@ -182,7 +183,7 @@  discard block
 block discarded – undo
182 183
     /**
183 184
      * @param $moduleDirname
184 185
      * @param $table
185
-     * @param $language
186
+     * @param string $language
186 187
      *
187 188
      * @return string
188 189
      */
@@ -253,7 +254,7 @@  discard block
 block discarded – undo
253 254
     /**
254 255
      * @param $filename
255 256
      *
256
-     * @return bool|string
257
+     * @return null|string
257 258
      */
258 259
     public function render()
259 260
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserRss.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +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 string $filename
68 69
      */
69 70
     public function write($module, $filename)
70 71
     {
@@ -133,7 +134,7 @@  discard block
 block discarded – undo
133 134
     /**
134 135
      * @param null
135 136
      *
136
-     * @return bool|string
137
+     * @return null|string
137 138
      */
138 139
     public function render()
139 140
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserSubmit.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +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 string $filename
68 69
      */
69 70
     public function write($module, $table, $filename)
70 71
     {
@@ -100,7 +101,7 @@  discard block
 block discarded – undo
100 101
     */
101 102
     /**
102 103
      * @param $moduleDirname
103
-     * @param $language
104
+     * @param string $language
104 105
      *
105 106
      * @return string
106 107
      */
@@ -150,7 +151,7 @@  discard block
 block discarded – undo
150 151
     /**
151 152
      * @param $filename
152 153
      *
153
-     * @return bool|string
154
+     * @return null|string
154 155
      */
155 156
     public function render()
156 157
     {
Please login to merge, or discard this patch.
class/files/user/UserBroken.php 2 patches
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
      *  @param $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
     {
@@ -194,6 +194,10 @@  discard block
 block discarded – undo
194 194
       *
195 195
       * @return
196 196
       */
197
+
198
+    /**
199
+     * @param string $language
200
+     */
197 201
     private function getUserBrokenSwitch($moduleDirname, $tableName, $tableAutoincrement, $language)
198 202
     {
199 203
         $xc = TDMCreateXoopsCode::getInstance();
@@ -212,7 +216,7 @@  discard block
 block discarded – undo
212 216
      *  @param null
213 217
      */
214 218
     /**
215
-     * @return bool|string
219
+     * @return null|string
216 220
      */
217 221
     public function render()
218 222
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
         $tableMid = $table->getVar('table_mid');
203 203
         $fields = $this->getTableFields($tableMid, $tableId);
204 204
         $cases = array('form' => array($this->getUserBrokenForm($tableName, $language)),
205
-                    'save' => array($this->getUserBrokenSave($moduleDirname, $fields, $tableName, $tableSolename, $tableAutoincrement, $language)), );
205
+                    'save' => array($this->getUserBrokenSave($moduleDirname, $fields, $tableName, $tableSolename, $tableAutoincrement, $language)),);
206 206
 
207 207
         return $xc->getXcSwitch('op', $cases, true);
208 208
     }
Please login to merge, or discard this patch.
class/files/user/UserIndex.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
     *  @param string $filename
63 63
     */
64 64
     /**
65
-     * @param $module
66
-     * @param $filename
65
+     * @param string $module
66
+     * @param string $filename
67 67
      */
68 68
     public function write($module, $table, $filename)
69 69
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * @private function getBodyPagesIndex
157 157
      *
158 158
      * @param $moduleDirname
159
-     * @param $language
159
+     * @param string $language
160 160
      *
161 161
      * @return string
162 162
      */
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      *
217 217
      * @param $moduleDirname
218 218
      * @param $tableName
219
-     * @param $language
219
+     * @param string $language
220 220
      *
221 221
      * @return string
222 222
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     *  @param null
247 247
     */
248 248
     /**
249
-     * @return bool|string
249
+     * @return null|string
250 250
      */
251 251
     public function render()
252 252
     {
Please login to merge, or discard this patch.
class/files/user/UserNotificationUpdate.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/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 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     {
110 110
         $fields = $this->getTableFields($tableMid, $tableId);
111 111
         $cases = array('form' => array($this->getUserRateForm($tableName, $language)),
112
-                    'save' => array($this->getUserRateSave($moduleDirname, $fields, $tableName, $tableSolename, $tableAutoincrement, $language)), );
112
+                    'save' => array($this->getUserRateSave($moduleDirname, $fields, $tableName, $tableSolename, $tableAutoincrement, $language)),);
113 113
 
114 114
         return $this->xc->getXcSwitch('op', $cases, true);
115 115
     }
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.