Completed
Push — master ( 6b7a6d...74143b )
by Gino
20s
created
class/logo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 
135 135
         // Write text
136 136
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
137
-        $spaceToBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
137
+        $spaceToBorder = (92-strlen($moduleDirname) * 7.5) / 2;
138 138
         imagefttext($imageModule, 8.5, 0, $spaceToBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
139 139
 
140 140
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
Please login to merge, or discard this patch.
class/files/admin/AdminHeader.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     *  @param null
254 254
     */
255 255
     /**
256
-     * @return bool|string
256
+     * @return null|string
257 257
      */
258 258
     public function render()
259 259
     {
Please login to merge, or discard this patch.
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class AdminHeader extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $xc = null;
34 34
 
35 35
     /**
36
-    *  @public function constructor
37
-    *  @param null
38
-    */
36
+     *  @public function constructor
37
+     *  @param null
38
+     */
39 39
 
40 40
     public function __construct()
41 41
     {
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    *  @static function getInstance
49
-    *  @param null
48
+     *  @static function getInstance
49
+     *  @param null
50 50
      * @return AdminHeader
51 51
      */
52 52
     public static function getInstance()
@@ -60,12 +60,12 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-    *  @public function write
64
-    *  @param string $module
65
-    *  @param mixed $table
66
-    *  @param array $tables
67
-    *  @param string $filename
68
-    */
63
+     *  @public function write
64
+     *  @param string $module
65
+     *  @param mixed $table
66
+     *  @param array $tables
67
+     *  @param string $filename
68
+     */
69 69
     public function write($module, $table, $tables, $filename)
70 70
     {
71 71
         $this->setModule($module);
@@ -136,8 +136,8 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-    *  @public function render
140
-    *  @param null
139
+     *  @public function render
140
+     *  @param null
141 141
      * @return bool|string
142 142
      */
143 143
     public function render()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserFooter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     *  @param null
254 254
     */
255 255
     /**
256
-     * @return bool|string
256
+     * @return null|string
257 257
      */
258 258
     public function render()
259 259
     {
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class TemplatesUserFooter extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $tdmcfile = null;
34 34
 
35 35
     /**
36
-    *  @public function constructor
37
-    *  @param null
38
-    */
36
+     *  @public function constructor
37
+     *  @param null
38
+     */
39 39
 
40 40
     public function __construct()
41 41
     {
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    *  @static function getInstance
48
-    *  @param null
47
+     *  @static function getInstance
48
+     *  @param null
49 49
      * @return TemplatesUserFooter
50 50
      */
51 51
     public static function getInstance()
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-    *  @public function write
63
-    *  @param string $module
64
-    *  @param mixed $table
65
-    *  @param string $filename
62
+     *  @public function write
63
+     *  @param string $module
64
+     *  @param mixed $table
65
+     *  @param string $filename
66 66
      */
67 67
     public function write($module, $table, $filename)
68 68
     {
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-    *  @public function render
98
-    *  @param null
97
+     *  @public function render
98
+     *  @param null
99 99
      * @return bool|string
100 100
      */
101 101
     public function render()
Please login to merge, or discard this patch.
class/files/user/UserIndex.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * @param $module
121 121
      * @param $tableName
122
-     * @param $language
122
+     * @param string $language
123 123
      *
124 124
      * @return string
125 125
      */
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param $moduleDirname
140 140
      * @param $tableName
141
-     * @param $language
141
+     * @param string $language
142 142
      *
143 143
      * @return string
144 144
      */
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     *  @param null
167 167
     */
168 168
     /**
169
-     * @return bool|string
169
+     * @return null|string
170 170
      */
171 171
     public function render()
172 172
     {
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserIndex extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return UserIndex
44 44
      */
45 45
     public static function getInstance()
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-    *  @public function render
238
-    *  @param null
237
+     *  @public function render
238
+     *  @param null
239 239
      * @return bool|string
240 240
      */
241 241
     public function render()
Please login to merge, or discard this patch.
class/files/user/UserRate.php 3 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * @param $module
121 121
      * @param $tableName
122
-     * @param $language
122
+     * @param string $language
123 123
      *
124 124
      * @return string
125 125
      */
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param $moduleDirname
140 140
      * @param $tableName
141
-     * @param $language
141
+     * @param string $language
142 142
      *
143 143
      * @return string
144 144
      */
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     *  @param null
167 167
     */
168 168
     /**
169
-     * @return bool|string
169
+     * @return null|string
170 170
      */
171 171
     public function render()
172 172
     {
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.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-    *  @public function write
62
-    *  @param string $module
63
-    *  @param mixed $table
64
-    *  @param string $filename
61
+     *  @public function write
62
+     *  @param string $module
63
+     *  @param mixed $table
64
+     *  @param string $filename
65 65
      */
66 66
     public function write($module, $table, $filename)
67 67
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-    *  @public function getUserRateSave
141
+     *  @public function getUserRateSave
142 142
      * @param $moduleDirname
143 143
      * @param $fields
144 144
      * @param $tableName
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     }
175 175
 
176 176
     /**
177
-    *  @public function getUserRateFooter
177
+     *  @public function getUserRateFooter
178 178
      * @param $moduleDirname
179 179
      * @param $language
180 180
      * @return string
@@ -190,8 +190,8 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-    *  @public function render
194
-    *  @param null
193
+     *  @public function render
194
+     *  @param null
195 195
      * @return bool|string
196 196
      */
197 197
     public function render()
Please login to merge, or discard this patch.
class/files/user/UserSingle.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * @param $module
121 121
      * @param $tableName
122
-     * @param $language
122
+     * @param string $language
123 123
      *
124 124
      * @return string
125 125
      */
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param $moduleDirname
140 140
      * @param $tableName
141
-     * @param $language
141
+     * @param string $language
142 142
      *
143 143
      * @return string
144 144
      */
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     *  @param null
167 167
     */
168 168
     /**
169
-     * @return bool|string
169
+     * @return null|string
170 170
      */
171 171
     public function render()
172 172
     {
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserSingle extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return UserSingle
44 44
      */
45 45
     public static function getInstance()
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param mixed $table
59
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param mixed $table
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -150,8 +150,8 @@  discard block
 block discarded – undo
150 150
     }
151 151
 
152 152
     /**
153
-    *  @public function render
154
-    *  @param null
153
+     *  @public function render
154
+     *  @param null
155 155
      * @return bool|string
156 156
      */
157 157
     public function render()
Please login to merge, or discard this patch.
class/morefiles.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -289,10 +289,10 @@
 block discarded – undo
289 289
     /**
290 290
      * Get MoreFiles Criteria.
291 291
      * @param $criteriaMoreFiles
292
-     * @param $start
293
-     * @param $limit
294
-     * @param $sort
295
-     * @param $order
292
+     * @param integer $start
293
+     * @param integer $limit
294
+     * @param string $sort
295
+     * @param string $order
296 296
      * @return
297 297
      */
298 298
     private function getMoreFilesCriteria($criteriaMoreFiles, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
class/tables.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
     /**
303 303
      * Get Defined Language.
304
-     * @param $lang
304
+     * @param string $lang
305 305
      *
306 306
      * @return string
307 307
      */
@@ -437,10 +437,10 @@  discard block
 block discarded – undo
437 437
     /**
438 438
      * Get Tables Criteria.
439 439
      * @param $criteriaTables
440
-     * @param $start
441
-     * @param $limit
442
-     * @param $sort
443
-     * @param $order
440
+     * @param integer $start
441
+     * @param integer $limit
442
+     * @param string $sort
443
+     * @param string $order
444 444
      * @return
445 445
      */
446 446
     private function getTablesCriteria($criteriaTables, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
     );
56 56
 
57 57
     /**
58
-    *  @public function constructor class
59
-    *  @param null
60
-    */
58
+     *  @public function constructor class
59
+     *  @param null
60
+     */
61 61
 
62 62
     public function __construct()
63 63
     {
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-    *  @static function getInstance
110
-    *  @param null
109
+     *  @static function getInstance
110
+     *  @param null
111 111
      * @return TDMCreateTables
112 112
      */
113 113
     public static function getInstance()
@@ -121,8 +121,8 @@  discard block
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-    *  @static function getFormTables
125
-    *  @param mixed $action
124
+     *  @static function getFormTables
125
+     *  @param mixed $action
126 126
      *
127 127
      * @return XoopsThemeForm
128 128
      */
Please login to merge, or discard this patch.
class/settings.php 2 patches
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.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
     /**
303 303
      * Get Defined Language.
304
-     * @param $lang
304
+     * @param string $lang
305 305
      *
306 306
      * @return string
307 307
      */
@@ -437,10 +437,10 @@  discard block
 block discarded – undo
437 437
     /**
438 438
      * Get Tables Criteria.
439 439
      * @param $criteriaTables
440
-     * @param $start
441
-     * @param $limit
442
-     * @param $sort
443
-     * @param $order
440
+     * @param integer $start
441
+     * @param integer $limit
442
+     * @param string $sort
443
+     * @param string $order
444 444
      * @return
445 445
      */
446 446
     private function getTablesCriteria($criteriaTables, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.