Completed
Push — master ( 00e474...9d3fbd )
by Michael
04:26
created
class/oledrion_utils.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Access the only instance of this class
43 43
      *
44
-     * @return object
44
+     * @return Oledrion_utils
45 45
      *
46 46
      * @static
47 47
      * @staticvar   object
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * Send an email from a template to a list of recipients
299 299
      *
300
-     * @param         $tplName
300
+     * @param         string $tplName
301 301
      * @param  array  $recipients List of recipients
302 302
      * @param  string $subject    Email's subject
303 303
      * @param  array  $variables  Varirables to give to the template
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
     /**
496 496
      * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs
497 497
      *
498
-     * @return booleean Admin or not
498
+     * @return boolean Admin or not
499 499
      */
500 500
     public static function isAdmin()
501 501
     {
@@ -1133,7 +1133,7 @@  discard block
 block discarded – undo
1133 1133
      * @param  null    $uploadMaxSize
1134 1134
      * @param  null    $maxWidth
1135 1135
      * @param  null    $maxHeight
1136
-     * @return mixed   True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1136
+     * @return boolean|string   True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1137 1137
      */
1138 1138
     public static function uploadFile(
1139 1139
         $indice,
@@ -1293,7 +1293,7 @@  discard block
 block discarded – undo
1293 1293
     }
1294 1294
 
1295 1295
     /**
1296
-     * @param $string
1296
+     * @param string $string
1297 1297
      * @return string
1298 1298
      */
1299 1299
     public static function close_tags($string)
@@ -1637,7 +1637,7 @@  discard block
 block discarded – undo
1637 1637
      *
1638 1638
      * @param  string $path     The file's path
1639 1639
      * @param  string $filename The filename
1640
-     * @return mixed  If the copy succeed, the new filename else false
1640
+     * @return string|false  If the copy succeed, the new filename else false
1641 1641
      * @since 2.1
1642 1642
      */
1643 1643
     public function duplicateFile($path, $filename)
@@ -1720,7 +1720,7 @@  discard block
 block discarded – undo
1720 1720
      * Create the <option> of an html select
1721 1721
      *
1722 1722
      * @param  array $array   Array of index and labels
1723
-     * @param  mixed $default the default value
1723
+     * @param  integer $default the default value
1724 1724
      * @param  bool  $withNull
1725 1725
      * @return string
1726 1726
      * @since 2.3.2009.03.13
@@ -1751,8 +1751,8 @@  discard block
 block discarded – undo
1751 1751
      * Creates an html select
1752 1752
      *
1753 1753
      * @param  string  $selectName Selector's name
1754
-     * @param  array   $array      Options
1755
-     * @param  mixed   $default    Default's value
1754
+     * @param  string[]   $array      Options
1755
+     * @param  integer   $default    Default's value
1756 1756
      * @param  boolean $withNull   Do we include a null option ?
1757 1757
      * @return string
1758 1758
      * @since 2.3.2009.03.13
@@ -1851,7 +1851,7 @@  discard block
 block discarded – undo
1851 1851
      * @package       Oledrion
1852 1852
      * @author        Instant Zero (http://xoops.instant-zero.com)
1853 1853
      * @copyright (c) Instant Zero
1854
-     * @param $fieldname
1854
+     * @param string $fieldname
1855 1855
      * @param $table
1856 1856
      * @return bool
1857 1857
      */
@@ -1887,7 +1887,7 @@  discard block
 block discarded – undo
1887 1887
      * @package       Oledrion
1888 1888
      * @author        Instant Zero (http://xoops.instant-zero.com)
1889 1889
      * @copyright (c) Instant Zero
1890
-     * @param $field
1890
+     * @param string $field
1891 1891
      * @param $table
1892 1892
      * @return
1893 1893
      */
Please login to merge, or discard this patch.
class/tree.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -244,10 +244,10 @@
 block discarded – undo
244 244
 
245 245
     /**
246 246
      * Internal function used by makeTreeAsArray
247
-     * @param        $fieldName
248
-     * @param        $key
247
+     * @param        string $fieldName
248
+     * @param        integer $key
249 249
      * @param        $ret
250
-     * @param        $prefix_orig
250
+     * @param        string $prefix_orig
251 251
      * @param string $prefix_curr
252 252
      */
253 253
     public function _recursiveMakeTreeAsArray($fieldName, $key, &$ret, $prefix_orig, $prefix_curr = '')
Please login to merge, or discard this patch.