Completed
Push — master ( aa4794...6b7a6d )
by Gino
19s
created
admin/modules.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                                  'mod_release_info' => $_POST['mod_release_info'],
109 109
                                  'mod_release_file' => $_POST['mod_release_file'],
110 110
                                  'mod_manual' => $_POST['mod_manual'],
111
-                                 'mod_manual_file' => $_POST['mod_manual_file'], ));
111
+                                 'mod_manual_file' => $_POST['mod_manual_file'],));
112 112
         //Form mod_image
113 113
         include_once XOOPS_ROOT_PATH.'/class/uploader.php';
114 114
         $uploader = new XoopsMediaUploader(TDMC_UPLOAD_IMGMOD_PATH, $tdmcreate->getConfig('mimetypes'),
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
                                  'mod_release' => $_POST['mod_release'],
136 136
                                  'mod_status' => $_POST['mod_status'],
137 137
                                  'mod_donations' => $_POST['mod_donations'],
138
-                                 'mod_subversion' => $_POST['mod_subversion'], )
138
+                                 'mod_subversion' => $_POST['mod_subversion'],)
139 139
         );
140 140
         $moduleOption = XoopsRequest::getArray('module_option', array());
141 141
         $modulesObj->setVar('mod_admin', in_array('admin', $moduleOption));
Please login to merge, or discard this patch.
admin/settings.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
                                  'set_release_info' => $_POST['set_release_info'],
102 102
                                  'set_release_file' => $_POST['set_release_file'],
103 103
                                  'set_manual' => $_POST['set_manual'],
104
-                                 'set_manual_file' => $_POST['set_manual_file'], ));
104
+                                 'set_manual_file' => $_POST['set_manual_file'],));
105 105
         //Form set_image
106 106
         $settingsObj->setVar('set_image', $_POST['set_image']);
107 107
         //Form module save
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
                                  'set_release' => $_POST['set_release'],
116 116
                                  'set_status' => $_POST['set_status'],
117 117
                                  'set_donations' => $_POST['set_donations'],
118
-                                 'set_subversion' => $_POST['set_subversion'], )
118
+                                 'set_subversion' => $_POST['set_subversion'],)
119 119
         );
120 120
         $settingOption = XoopsRequest::getArray('setting_option', array());
121 121
         $settingsObj->setVar('set_admin', in_array('admin', $settingOption));
Please login to merge, or discard this patch.
admin/addfiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
                                  'file_mid' => $_POST['file_mid'],
95 95
                                  'file_name' => $_POST['file_name'],
96 96
                                  'file_extension' => $_POST['file_extension'],
97
-                                 'file_infolder' => $_POST['file_infolder'], ));
97
+                                 'file_infolder' => $_POST['file_infolder'],));
98 98
 
99 99
         if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) {
100 100
             if ($addfilesObj->isNew()) {
Please login to merge, or discard this patch.
admin/fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
             $fieldsObj->setVar('field_tfoot', (1 == $_REQUEST['field_tfoot'][$key]) ? 1 : 0);
152 152
             $fieldsObj->setVar('field_block', (1 == $_REQUEST['field_block'][$key]) ? 1 : 0);
153 153
             $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main'] ? 1 : 0));
154
-            $fieldsObj->setVar('field_search',  (1 == $_REQUEST['field_search'][$key]) ? 1 : 0);
154
+            $fieldsObj->setVar('field_search', (1 == $_REQUEST['field_search'][$key]) ? 1 : 0);
155 155
             $fieldsObj->setVar('field_required', (1 == $_REQUEST['field_required'][$key]) ? 1 : 0);
156 156
             // Insert Data
157 157
             $tdmcreate->getHandler('fields')->insert($fieldsObj);
Please login to merge, or discard this patch.
admin/tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             $tablesObj = &$tables->create();
133 133
         }
134 134
         $tableOrder = XoopsRequest::getInt('table_order');
135
-        $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder;
135
+        $order = $tablesObj->isNew() ? $tableOrder+1 : $tableOrder;
136 136
         // Form save tables
137 137
         $tablesObj->setVars(array(
138 138
                                 'table_mid' => $tableMid,
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
                                 'table_category' => ((1 == $_REQUEST['table_category']) ? 1 : 0),
142 142
                                 'table_fieldname' => $tableFieldname,
143 143
                                 'table_nbfields' => $tableNumbFields,
144
-                                'table_order' => $order, ));
144
+                                'table_order' => $order,));
145 145
         //Form table_image
146 146
         include_once XOOPS_ROOT_PATH.'/class/uploader.php';
147 147
         $uploaddir = is_dir(XOOPS_ICONS32_PATH) ? XOOPS_ICONS32_PATH : TDMC_UPLOAD_IMGTAB_PATH;
Please login to merge, or discard this patch.
admin/morefiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
                                  'file_mid' => $_POST['file_mid'],
95 95
                                  'file_name' => $_POST['file_name'],
96 96
                                  'file_extension' => $_POST['file_extension'],
97
-                                 'file_infolder' => $_POST['file_infolder'], ));
97
+                                 'file_infolder' => $_POST['file_infolder'],));
98 98
 
99 99
         if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) {
100 100
             if ($addfilesObj->isNew()) {
Please login to merge, or discard this patch.
class/settings.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,6 @@
 block discarded – undo
262 262
 
263 263
     /**
264 264
      * Get Options Settings
265
-
266 265
      * @return string
267 266
      * @internal param $key
268 267
      *
Please login to merge, or discard this patch.
class/files/admin/AdminXoopsCode.php 1 patch
Doc Comments   +24 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     *  @param null
33 33
     */
34 34
     /**
35
-     * @return Axc
35
+     * @return AdminXoopsCode
36 36
      */
37 37
     public static function getInstance()
38 38
     {
@@ -65,6 +65,10 @@  discard block
 block discarded – undo
65 65
      *
66 66
      *  @return string
67 67
      */
68
+
69
+    /**
70
+     * @param string $stuTableSoleName
71
+     */
68 72
     public function getAdminItemButton($language, $tableName, $stuTableSoleName, $op = '?op=new', $type = 'add', $t = '')
69 73
     {
70 74
         $stuType = strtoupper($type);
@@ -96,6 +100,10 @@  discard block
 block discarded – undo
96 100
     *
97 101
     *  @return string
98 102
     */
103
+
104
+    /**
105
+     * @param string $language
106
+     */
99 107
     public function getAxcAddInfoBox($language, $t = '')
100 108
     {
101 109
         return "{$t}\$adminMenu->addInfoBox({$language});\n";
@@ -109,6 +117,10 @@  discard block
 block discarded – undo
109 117
     *
110 118
     *  @return string
111 119
     */
120
+
121
+    /**
122
+     * @param string $language
123
+     */
112 124
     public function getAxcAddInfoBoxLine($language, $label = '', $var = '', $t = '')
113 125
     {
114 126
         $aMenu = $t.'$adminMenu->addInfoBoxLine(';
@@ -129,6 +141,10 @@  discard block
 block discarded – undo
129 141
     *
130 142
     *  @return string
131 143
     */
144
+
145
+    /**
146
+     * @param string $language
147
+     */
132 148
     public function getAxcAddConfigBoxLine($language, $label = '', $var = '', $t = '')
133 149
     {
134 150
         $aMenu = $t.'$adminMenu->addConfigBoxLine(';
@@ -231,6 +247,10 @@  discard block
 block discarded – undo
231 247
     *  @param $formatUrl
232 248
     *  @return string
233 249
     */
250
+
251
+    /**
252
+     * @param string $dirname
253
+     */
234 254
     private function getAxcImageFileSetVar($moduleDirname, $dirname, $tableName, $fieldName, $formatUrl = false, $t = '')
235 255
     {
236 256
         $pCodeFileSetVar = TDMCreatePhpCode::getInstance();
@@ -316,8 +336,8 @@  discard block
 block discarded – undo
316 336
     /**
317 337
      *  @public function getAxcFetchMedia
318 338
      *
319
-     *  @param $anchor
320
-     *  @param $var
339
+     *  @param string $anchor
340
+     *  @param string $var
321 341
      *
322 342
      *  @return string
323 343
      */
@@ -329,7 +349,7 @@  discard block
 block discarded – undo
329 349
     /**
330 350
      *  @public function getAxcSetPrefix
331 351
      *
332
-     *  @param $anchor
352
+     *  @param string $anchor
333 353
      *  @param $var
334 354
      *
335 355
      *  @return string
Please login to merge, or discard this patch.
class/files/language/LanguageModinfo.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      *  @public function write
59 59
      *
60
-     * @param $module
60
+     * @param string $module
61 61
      * @param $table
62
-     * @param $filename
62
+     * @param string $filename
63 63
      *
64 64
      * @return string
65 65
      */
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * @private function getLanguageMain
75 75
      *
76
-     * @param $language
76
+     * @param string $language
77 77
      * @param $module
78 78
      *
79 79
      * @return string
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @private function getLanguageMenu
93 93
      *
94 94
      * @param $module
95
-     * @param $language
95
+     * @param string $language
96 96
      *
97 97
      * @return string
98 98
      */
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     *  @param $language
126 126
     */
127 127
     /**
128
-     * @param $language
128
+     * @param string $language
129 129
      *
130 130
      * @return string
131 131
      */
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     *  @param array $tables
146 146
     */
147 147
     /**
148
-     * @param $language
148
+     * @param string $language
149 149
      * @param $tables
150 150
      *
151 151
      * @return string
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     *  @param array $tables
179 179
     */
180 180
     /**
181
-     * @param $language
181
+     * @param string $language
182 182
      * @param $tables
183 183
      *
184 184
      * @return string
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     *  @param $language
225 225
     */
226 226
     /**
227
-     * @param $language
227
+     * @param string $language
228 228
      *
229 229
      * @return string
230 230
      */
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     *  @param $table
245 245
     */
246 246
     /**
247
-     * @param $language
247
+     * @param string $language
248 248
      * @param $table
249 249
      *
250 250
      * @return string
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     *  @param mixed $table
305 305
     */
306 306
     /**
307
-     * @param $language
307
+     * @param string $language
308 308
      *
309 309
      * @return string
310 310
      */
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     *  @param $language
329 329
     */
330 330
     /**
331
-     * @param $language
331
+     * @param string $language
332 332
      *
333 333
      * @return string
334 334
      */
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
     *  @param null
365 365
     */
366 366
     /**
367
-     * @return bool|string
367
+     * @return null|string
368 368
      */
369 369
     public function render()
370 370
     {
Please login to merge, or discard this patch.