Completed
Push — master ( aa4794...6b7a6d )
by Gino
19s
created
class/files/templates/user/TemplatesUserFooter.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/templates/user/TemplatesUserPagesList.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/templates/user/TemplatesUserPrint.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/TemplatesUserSingle.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/UserHeader.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/UserListTag.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/UserPages.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/UserViewTag.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/UserSubmit.php 2 patches
Doc Comments   +9 added lines, -3 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
     {
@@ -179,6 +179,7 @@  discard block
 block discarded – undo
179 179
     *  @param null
180 180
     */
181 181
     /**
182
+     * @param string $language
182 183
      * @return string
183 184
      */
184 185
     public function getUserSubmitFooter($moduleDirname, $language)
@@ -204,6 +205,11 @@  discard block
 block discarded – undo
204 205
      *
205 206
      * @return string
206 207
      */
208
+
209
+    /**
210
+     * @param string $language
211
+     * @param string $t
212
+     */
207 213
     private function getUserSubmitSwitch($moduleDirname, $tableId, $tableMid, $tableName, $tableSolename, $tableSubmit, $tableAutoincrement, $language, $t)
208 214
     {
209 215
         $xc = TDMCreateXoopsCode::getInstance();
@@ -219,7 +225,7 @@  discard block
 block discarded – undo
219 225
     *  @param null
220 226
     */
221 227
     /**
222
-     * @return bool|string
228
+     * @return null|string
223 229
      */
224 230
     public function render()
225 231
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
         $xc = TDMCreateXoopsCode::getInstance();
210 210
         $fields = $this->getTableFields($tableMid, $tableId);
211 211
         $cases = array('form' => array($this->getUserSubmitForm($tableName, $language, $t)),
212
-                    'save' => array($this->getUserSubmitSave($moduleDirname, $fields, $tableName, $tableSolename, $tableSubmit, $tableAutoincrement, $language, $t)), );
212
+                    'save' => array($this->getUserSubmitSave($moduleDirname, $fields, $tableName, $tableSolename, $tableSubmit, $tableAutoincrement, $language, $t)),);
213 213
 
214 214
         return $xc->getXcSwitch('op', $cases, true, false, $t);
215 215
     }
Please login to merge, or discard this patch.