Passed
Branch master (31be8b)
by Gino
03:04
created
class/files/templates/user/TemplatesUserPages.php 1 patch
Doc Comments   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -112,7 +112,8 @@  discard block
 block discarded – undo
112 112
     *  @param string $language
113 113
     */
114 114
     /**
115
-     * @param $language
115
+     * @param string $language
116
+     * @param string $tableName
116 117
      *
117 118
      * @return string
118 119
      */
@@ -134,9 +135,10 @@  discard block
 block discarded – undo
134 135
     *  @param string $language
135 136
     */
136 137
     /**
137
-     * @param $moduleDirname
138
+     * @param string $moduleDirname
138 139
      * @param $table
139
-     * @param $language
140
+     * @param string $language
141
+     * @param string $tableName
140 142
      *
141 143
      * @return string
142 144
      */
@@ -180,7 +182,7 @@  discard block
 block discarded – undo
180 182
     *  @param string $language
181 183
     */
182 184
     /**
183
-     * @param $language
185
+     * @param string $language
184 186
      *
185 187
      * @return string
186 188
      */
@@ -211,7 +213,7 @@  discard block
 block discarded – undo
211 213
     *  @param string $filename
212 214
     */
213 215
     /**
214
-     * @param $filename
216
+     * @param string $filename
215 217
      *
216 218
      * @return bool|string
217 219
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPagesList.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @param $module
70 70
      * @param $table
71
+     * @param string $filename
71 72
      */
72 73
     public function write($module, $table, $tables, $filename)
73 74
     {
@@ -262,7 +263,7 @@  discard block
 block discarded – undo
262 263
     /**
263 264
      * @param $moduleDirname
264 265
      * @param $table
265
-     * @param $language
266
+     * @param string $language
266 267
      *
267 268
      * @return string
268 269
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserSearch.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * @param $moduleDirname
85 85
      * @param $table
86
-     * @param $language
86
+     * @param string $language
87 87
      *
88 88
      * @return string
89 89
      */
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * @param $moduleDirname
124 124
      * @param $table
125
-     * @param $language
125
+     * @param string $language
126 126
      *
127 127
      * @return string
128 128
      */
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * @param $moduleDirname
185 185
      * @param $table
186
-     * @param $language
186
+     * @param string $language
187 187
      *
188 188
      * @return string
189 189
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserSingle.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * @param $moduleDirname
85 85
      * @param $table
86
-     * @param $language
86
+     * @param string $language
87 87
      *
88 88
      * @return string
89 89
      */
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * @param $moduleDirname
124 124
      * @param $table
125
-     * @param $language
125
+     * @param string $language
126 126
      *
127 127
      * @return string
128 128
      */
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * @param $moduleDirname
185 185
      * @param $table
186
-     * @param $language
186
+     * @param string $language
187 187
      *
188 188
      * @return string
189 189
      */
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
     *  @param string $filename
253 253
     */
254 254
     /**
255
-     * @param $filename
255
+     * @param string $filename
256 256
      *
257 257
      * @return bool|string
258 258
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserSubmit.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/helper.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     *  @param mixed $debug
59 59
     */
60 60
     /**
61
-     * @param $debug
61
+     * @param boolean $debug
62 62
      */
63 63
     public function __construct($debug)
64 64
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     *  @param string $name
107 107
     */
108 108
     /**
109
-     * @param null $name
109
+     * @param string $name
110 110
      *
111 111
      * @return null|string
112 112
      */
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * @param null $name
140 140
      * @param null $value
141 141
      *
142
-     * @return mixed
142
+     * @return string
143 143
      */
144 144
     public function setConfig($name = null, $value = null)
145 145
     {
@@ -157,9 +157,9 @@  discard block
 block discarded – undo
157 157
     *  @param string $name
158 158
     */
159 159
     /**
160
-     * @param $name
160
+     * @param string $name
161 161
      *
162
-     * @return mixed
162
+     * @return string
163 163
      */
164 164
     public function &getHandler($name)
165 165
     {
Please login to merge, or discard this patch.
class/logoGenerator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      * @param $logoIcon
101 101
      * @param $moduleDirname
102 102
      *
103
-     * @return bool|string
103
+     * @return false|string
104 104
      */
105 105
     public static function createLogo($logoIcon, $moduleDirname)
106 106
     {
Please login to merge, or discard this 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/modules.php 2 patches
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
      * @param $logoIcon
392 392
      * @param $moduleDirname
393 393
      *
394
-     * @return bool|string
394
+     * @return false|string
395 395
      */
396 396
     private static function createLogo($logoIcon, $moduleDirname)
397 397
     {
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
      * Get Defined Language.
475 475
      */
476 476
     /**
477
-     * @param $lang
477
+     * @param string $lang
478 478
      *
479 479
      * @return string
480 480
      */
@@ -587,6 +587,10 @@  discard block
 block discarded – undo
587 587
 
588 588
     /**
589 589
      * Get Modules Criteria.
590
+     * @param integer $start
591
+     * @param integer $limit
592
+     * @param string $sort
593
+     * @param string $order
590 594
      */
591 595
     private function getModulesCriteria($criteriaModules, $start, $limit, $sort, $order)
592 596
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
         $imageIcon = imagecreatefrompng($iconFile);
416 416
         // Write text
417 417
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
418
-        $spaceBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
418
+        $spaceBorder = (92-strlen($moduleDirname) * 7.5) / 2;
419 419
         imagefttext($imageModule, 8.5, 0, $spaceBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
420 420
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
421 421
         $logoImg = '/'.$moduleDirname.'_logo.png';
Please login to merge, or discard this patch.
class/morefiles.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.