Completed
Push — master ( cf90b7...5795fc )
by Michael
02:22
created
class/pear/Image/Transform/Driver/GD.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     /**
268 268
      * Horizontal mirroring
269 269
      *
270
-     * @return mixed TRUE or PEAR_Error object on error
270
+     * @return boolean TRUE or PEAR_Error object on error
271 271
      * @access public
272 272
      * @see    flip()
273 273
      **/
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     /**
287 287
      * Vertical mirroring
288 288
      *
289
-     * @return TRUE or PEAR Error object on error
289
+     * @return boolean or PEAR Error object on error
290 290
      * @access public
291 291
      * @see    mirror()
292 292
      **/
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
      * Helper method to save to a file or output the image
438 438
      *
439 439
      * @param string $filename  the name of the file to write to (blank to output)
440
-     * @param string $types     define the output format, default
440
+     * @param string $type     define the output format, default
441 441
      *                          is the current used format
442 442
      * @param int    $quality   output DPI, default is 75
443 443
      *
Please login to merge, or discard this patch.
class/pear/Image/Transform/Driver/IM.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      *
172 172
      * @param   int     angle   rotation angle
173 173
      * @param   array   options no option allowed
174
-     * @return mixed TRUE or a PEAR error object on error
174
+     * @return boolean TRUE or a PEAR error object on error
175 175
      */
176 176
     public function rotate($angle, $options = null)
177 177
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      * @param int x X-coordinate to crop at
195 195
      * @param int y Y-coordinate to crop at
196 196
      *
197
-     * @return mixed TRUE or a PEAR error object on error
197
+     * @return boolean TRUE or a PEAR error object on error
198 198
      */
199 199
     public function crop($width, $height, $x = 0, $y = 0)
200 200
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      *                                                  before drawing the text
226 226
      *                                                  )
227 227
      *
228
-     * @return mixed TRUE or a PEAR error object on error
228
+     * @return boolean TRUE or a PEAR error object on error
229 229
      * @see PEAR::isError()
230 230
      */
231 231
     public function addText($params)
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      *
252 252
      * @access public
253 253
      * @param float $outputgamma
254
-     * @return mixed TRUE or a PEAR error object on error
254
+     * @return boolean TRUE or a PEAR error object on error
255 255
      */
256 256
     public function gamma($outputgamma = 1.0)
257 257
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      * Convert the image to greyscale
267 267
      *
268 268
      * @access public
269
-     * @return mixed TRUE or a PEAR error object on error
269
+     * @return boolean TRUE or a PEAR error object on error
270 270
      */
271 271
     public function greyscale()
272 272
     {
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * Horizontal mirroring
280 280
      *
281 281
      * @access public
282
-     * @return TRUE or PEAR Error object on error
282
+     * @return boolean or PEAR Error object on error
283 283
      */
284 284
     public function mirror()
285 285
     {
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
      * Vertical mirroring
298 298
      *
299 299
      * @access public
300
-     * @return TRUE or PEAR Error object on error
300
+     * @return boolean or PEAR Error object on error
301 301
      */
302 302
     public function flip()
303 303
     {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
      * @param string type (JPEG,PNG...);
357 357
      * @param int    quality 75
358 358
      *
359
-     * @return mixed TRUE or a PEAR error object on error
359
+     * @return boolean TRUE or a PEAR error object on error
360 360
      */
361 361
     public function display($type = '', $quality = null)
362 362
     {
Please login to merge, or discard this patch.
class/pear/Image/Transform/Driver/Imlib.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @param string filename
93 93
      *
94
-     * @return mixed TRUE or a PEAR error object on error
94
+     * @return boolean TRUE or a PEAR error object on error
95 95
      * @see PEAR::isError()
96 96
      */
97 97
     public function load($image)
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      *                                  'angle' A imlib direction constant
126 126
      *                                  )
127 127
      *
128
-     * @return TRUE or PEAR Error object on error
128
+     * @return boolean or PEAR Error object on error
129 129
      * @see PEAR::isError()
130 130
      */
131 131
     public function addText($params)
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      *
166 166
      * @param int $angle Rotation angle
167 167
      *
168
-     * @return TRUE or PEAR Error object on error
168
+     * @return boolean or PEAR Error object on error
169 169
      */
170 170
     public function rotate($angle)
171 171
     {
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
      * Gets the image details
344 344
      *
345 345
      * @access private
346
-     * @return TRUE on success or PEAR Error object on error
346
+     * @return boolean on success or PEAR Error object on error
347 347
      */
348 348
     public function _get_image_details()
349 349
     {
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     /**
361 361
      * Horizontal mirroring
362 362
      *
363
-     * @return TRUE on success, PEAR Error object on error
363
+     * @return boolean on success, PEAR Error object on error
364 364
      */
365 365
     public function mirror()
366 366
     {
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
     /**
373 373
      * Vertical mirroring
374 374
      *
375
-     * @return TRUE on success, PEAR Error object on error
375
+     * @return boolean on success, PEAR Error object on error
376 376
      */
377 377
     public function flip()
378 378
     {
Please login to merge, or discard this patch.
class/pear/Image/Transform/Driver/NetPBM.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     /**
329 329
      * Image_Transform_Driver_NetPBM::_postProcess()
330 330
      *
331
-     * @param $type
331
+     * @param string $type
332 332
      * @param $quality
333 333
      * @return string A chain of shell command
334 334
      * @link http://netpbm.sourceforge.net/doc/directory.html
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
      *
491 491
      * @param string $type    (jpeg,png...);
492 492
      * @param int    $quality 75
493
-     * @return TRUE or PEAR Error object on error
493
+     * @return boolean or PEAR Error object on error
494 494
      */
495 495
     public function display($type = null, $quality = null)
496 496
     {
Please login to merge, or discard this patch.
class/utility.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 
21 21
 
22 22
     /**
23
-     * @param $option
24
-     * @return bool|mixed
23
+     * @param string $option
24
+     * @return string
25 25
      */
26 26
     public static function getModuleOption($option)
27 27
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Xmf\Request;
4
-
5 3
 require_once __DIR__ . '/common/traitversionchecks.php';
6 4
 require_once __DIR__ . '/common/traitserverstats.php';
7 5
 require_once __DIR__ . '/common/traitfilesmgmt.php';
Please login to merge, or discard this patch.