Completed
Push — master ( 069c91...aa5f80 )
by Michael
03:12 queued 12s
created
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/pear/PEAR.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
      * Use this function to register a shutdown method for static
260 260
      * classes.
261 261
      *
262
-     * @param  mixed $func The function name (or array of class/method) to call
262
+     * @param  string[] $func The function name (or array of class/method) to call
263 263
      * @param  mixed $args The arguments to pass to the function
264 264
      *
265 265
      * @return void
Please login to merge, or discard this patch.
class/pear/System.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      * Supports multiple files and dirs and also recursive deletes
207 207
      *
208 208
      * @param    string $args the arguments for rm
209
-     * @return   mixed   PEAR_Error or true for success
209
+     * @return   boolean   PEAR_Error or true for success
210 210
      * @static
211 211
      * @access   public
212 212
      */
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      *           c:\windows\temp or /tmp will be used.
396 396
      *
397 397
      * @param   string $args The arguments
398
-     * @return  mixed   the full path of the created (file|dir) or false
398
+     * @return  boolean|string   the full path of the created (file|dir) or false
399 399
      * @see System::tmpdir()
400 400
      */
401 401
     public static function mktemp($args = null)
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
      * @param string $program  The command to search for
498 498
      * @param mixed  $fallback Value to return if $program is not found
499 499
      *
500
-     * @return mixed A string with the full path or false if not found
500
+     * @return string A string with the full path or false if not found
501 501
      * @author Stig Bakken <[email protected]>
502 502
      */
503 503
     public static function which($program, $fallback = false)
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.