Completed
Push — master ( 9d3fbd...af269e )
by Michael
09:48
created
class/oledrion_gateways.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,8 +103,8 @@
 block discarded – undo
103 103
     /**
104 104
      * Retourne le chemin complet vers le fichier de langue de la passerelle
105 105
      *
106
-     * @param  unknown_type $gatewayName
107
-     * @return mixed
106
+     * @param  string $gatewayName
107
+     * @return string
108 108
      */
109 109
     public static function getGatewayLanguageFilename($gatewayName)
110 110
     {
Please login to merge, or discard this patch.
class/oledrion_utils.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Access the only instance of this class
44 44
      *
45
-     * @return object
45
+     * @return OledrionUtility
46 46
      *
47 47
      * @static
48 48
      * @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
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
     /**
497 497
      * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs
498 498
      *
499
-     * @return booleean Admin or not
499
+     * @return boolean Admin or not
500 500
      */
501 501
     public static function isAdmin()
502 502
     {
@@ -1134,7 +1134,7 @@  discard block
 block discarded – undo
1134 1134
      * @param  null    $uploadMaxSize
1135 1135
      * @param  null    $maxWidth
1136 1136
      * @param  null    $maxHeight
1137
-     * @return mixed   True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1137
+     * @return boolean|string   True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1138 1138
      */
1139 1139
     public static function uploadFile(
1140 1140
         $indice,
@@ -1294,7 +1294,7 @@  discard block
 block discarded – undo
1294 1294
     }
1295 1295
 
1296 1296
     /**
1297
-     * @param $string
1297
+     * @param string $string
1298 1298
      * @return string
1299 1299
      */
1300 1300
     public static function close_tags($string)
@@ -1638,7 +1638,7 @@  discard block
 block discarded – undo
1638 1638
      *
1639 1639
      * @param  string $path     The file's path
1640 1640
      * @param  string $filename The filename
1641
-     * @return mixed  If the copy succeed, the new filename else false
1641
+     * @return string|false  If the copy succeed, the new filename else false
1642 1642
      * @since 2.1
1643 1643
      */
1644 1644
     public function duplicateFile($path, $filename)
@@ -1721,7 +1721,7 @@  discard block
 block discarded – undo
1721 1721
      * Create the <option> of an html select
1722 1722
      *
1723 1723
      * @param  array $array   Array of index and labels
1724
-     * @param  mixed $default the default value
1724
+     * @param  integer $default the default value
1725 1725
      * @param  bool  $withNull
1726 1726
      * @return string
1727 1727
      * @since 2.3.2009.03.13
@@ -1752,8 +1752,8 @@  discard block
 block discarded – undo
1752 1752
      * Creates an html select
1753 1753
      *
1754 1754
      * @param  string  $selectName Selector's name
1755
-     * @param  array   $array      Options
1756
-     * @param  mixed   $default    Default's value
1755
+     * @param  string[]   $array      Options
1756
+     * @param  integer   $default    Default's value
1757 1757
      * @param  boolean $withNull   Do we include a null option ?
1758 1758
      * @return string
1759 1759
      * @since 2.3.2009.03.13
Please login to merge, or discard this patch.
class/utility.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * Access the only instance of this class
188 188
      *
189
-     * @return object
189
+     * @return OledrionUtility
190 190
      *
191 191
      * @static
192 192
      * @staticvar   object
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * Send an email from a template to a list of recipients
443 443
      *
444
-     * @param         $tplName
444
+     * @param         string $tplName
445 445
      * @param  array  $recipients List of recipients
446 446
      * @param  string $subject    Email's subject
447 447
      * @param  array  $variables  Varirables to give to the template
@@ -639,7 +639,7 @@  discard block
 block discarded – undo
639 639
     /**
640 640
      * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs
641 641
      *
642
-     * @return booleean Admin or not
642
+     * @return boolean Admin or not
643 643
      */
644 644
     public static function isAdmin()
645 645
     {
@@ -1277,7 +1277,7 @@  discard block
 block discarded – undo
1277 1277
      * @param  null    $uploadMaxSize
1278 1278
      * @param  null    $maxWidth
1279 1279
      * @param  null    $maxHeight
1280
-     * @return mixed   True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1280
+     * @return boolean|string   True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1281 1281
      */
1282 1282
     public static function uploadFile(
1283 1283
         $indice,
@@ -1437,7 +1437,7 @@  discard block
 block discarded – undo
1437 1437
     }
1438 1438
 
1439 1439
     /**
1440
-     * @param $string
1440
+     * @param string $string
1441 1441
      * @return string
1442 1442
      */
1443 1443
     public static function close_tags($string)
@@ -1781,7 +1781,7 @@  discard block
 block discarded – undo
1781 1781
      *
1782 1782
      * @param  string $path     The file's path
1783 1783
      * @param  string $filename The filename
1784
-     * @return mixed  If the copy succeed, the new filename else false
1784
+     * @return string|false  If the copy succeed, the new filename else false
1785 1785
      * @since 2.1
1786 1786
      */
1787 1787
     public static function duplicateFile($path, $filename)
@@ -1864,7 +1864,7 @@  discard block
 block discarded – undo
1864 1864
      * Create the <option> of an html select
1865 1865
      *
1866 1866
      * @param  array $array   Array of index and labels
1867
-     * @param  mixed $default the default value
1867
+     * @param  integer $default the default value
1868 1868
      * @param  bool  $withNull
1869 1869
      * @return string
1870 1870
      * @since 2.3.2009.03.13
@@ -1895,8 +1895,8 @@  discard block
 block discarded – undo
1895 1895
      * Creates an html select
1896 1896
      *
1897 1897
      * @param  string  $selectName Selector's name
1898
-     * @param  array   $array      Options
1899
-     * @param  mixed   $default    Default's value
1898
+     * @param  string[]   $array      Options
1899
+     * @param  integer   $default    Default's value
1900 1900
      * @param  boolean $withNull   Do we include a null option ?
1901 1901
      * @return string
1902 1902
      * @since 2.3.2009.03.13
Please login to merge, or discard this patch.