Completed
Pull Request — master (#51)
by Gino
06:03
created
admin/addfiles.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,10 +91,10 @@
 block discarded – undo
91 91
         }
92 92
         // Form file save
93 93
         $addfilesObj->setVars(array(
94
-                                 'file_mid' => $_POST['file_mid'],
95
-                                 'file_name' => $_POST['file_name'],
96
-                                 'file_extension' => $_POST['file_extension'],
97
-                                 'file_infolder' => $_POST['file_infolder'], ));
94
+                                    'file_mid' => $_POST['file_mid'],
95
+                                    'file_name' => $_POST['file_name'],
96
+                                    'file_extension' => $_POST['file_extension'],
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.
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.
class/fieldelements.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -275,6 +275,10 @@
 block discarded – undo
275 275
 
276 276
     /**
277 277
      * Get MoreFiles Criteria.
278
+     * @param integer $start
279
+     * @param integer $limit
280
+     * @param string $sort
281
+     * @param string $order
278 282
      */
279 283
     private function getMoreFilesCriteria($criteriaMoreFiles, $start, $limit, $sort, $order)
280 284
     {
Please login to merge, or discard this patch.
class/files/assets/css/CssStyles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * @param $module
68 68
      * @param $table
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $filename)
72 72
     {
Please login to merge, or discard this patch.
class/files/blocks/BlocksFiles.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     */
101 101
     /**
102 102
      * @param $moduleDirname
103
-     * @param $language
103
+     * @param string $language
104 104
      *
105 105
      * @return string
106 106
      */
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     *  @param string $filename
146 146
     */
147 147
     /**
148
-     * @param $filename
148
+     * @param string $filename
149 149
      *
150 150
      * @return bool|string
151 151
      */
Please login to merge, or discard this patch.
class/files/classes/ClassFiles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * @param $module
68 68
      * @param $table
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $filename)
72 72
     {
Please login to merge, or discard this patch.
class/files/classes/ClassHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * @param $module
68 68
      * @param $table
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $filename)
72 72
     {
Please login to merge, or discard this patch.
class/files/css/CssStyles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * @param $module
68 68
      * @param $table
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $filename)
72 72
     {
Please login to merge, or discard this patch.