Completed
Push — master ( a041ab...7e66c0 )
by Gino
04:49 queued 01:03
created
class/files/user/UserBroken.php 1 patch
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.
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 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.