Completed
Push — master ( 9d3fbd...af269e )
by Michael
09:48
created
class/oledrion_products_list.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * Supprime un produit de toutes les listes
75 75
      *
76 76
      * @param  integer $productlist_product_id
77
-     * @return booelan
77
+     * @return boolean
78 78
      */
79 79
     public function deleteProductFromLists($productlist_product_id)
80 80
     {
Please login to merge, or discard this patch.
class/oledrion_shelf_parameters.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * Réinitialisation des valeurs
46 46
      *
47
-     * @return object
47
+     * @return Oledrion_shelf_parameters
48 48
      */
49 49
     public function resetDefaultValues()
50 50
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * Positione la valeur de début
78 78
      *
79 79
      * @param  integer $value
80
-     * @return object
80
+     * @return Oledrion_shelf_parameters
81 81
      */
82 82
     public function setStart($value)
83 83
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * Fixe le nombre maximum d'enregistrements à retourner
91 91
      *
92 92
      * @param  integer $value
93
-     * @return object
93
+     * @return Oledrion_shelf_parameters
94 94
      */
95 95
     public function setLimit($value)
96 96
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * Fixe la catégorie à utiliser
104 104
      *
105 105
      * @param  integer $value
106
-     * @return object
106
+     * @return Oledrion_shelf_parameters
107 107
      */
108 108
     public function setCategory($value)
109 109
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * Fixe la zone qui sert de tri
117 117
      *
118 118
      * @param  string $value
119
-     * @return object
119
+     * @return Oledrion_shelf_parameters
120 120
      */
121 121
     public function setSort($value)
122 122
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * Fixe l'ordre de tri
130 130
      *
131 131
      * @param  string $value
132
-     * @return array
132
+     * @return Oledrion_shelf_parameters
133 133
      */
134 134
     public function setOrder($value)
135 135
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * Fixe la liste des produits à exclure
143 143
      *
144 144
      * @param  mixed $value
145
-     * @return string
145
+     * @return Oledrion_shelf_parameters
146 146
      */
147 147
     public function setExcluded($value)
148 148
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * Indique s'il faut retourner les utilisateurs Xoops
156 156
      *
157 157
      * @param  boolean $value
158
-     * @return object
158
+     * @return Oledrion_shelf_parameters
159 159
      */
160 160
     public function setWithXoopsUser($value)
161 161
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * Indique s'il faut retourner les produits relatifs
169 169
      *
170 170
      * @param  boolean $value
171
-     * @return object
171
+     * @return Oledrion_shelf_parameters
172 172
      */
173 173
     public function setWithRelatedProducts($value)
174 174
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      * Indique s'il faut retourner les quantités
182 182
      *
183 183
      * @param  boolean $value
184
-     * @return object
184
+     * @return Oledrion_shelf_parameters
185 185
      */
186 186
     public function setWithQuantity($value)
187 187
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      * Fixe le type de produits à retourner
195 195
      *
196 196
      * @param  string $value
197
-     * @return object
197
+     * @return Oledrion_shelf_parameters
198 198
      */
199 199
     public function setProductsType($value)
200 200
     {
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      * Indique s'il faut retourner seulement les mois
208 208
      *
209 209
      * @param  boolean $value
210
-     * @return object
210
+     * @return Oledrion_shelf_parameters
211 211
      */
212 212
     public function setThisMonthOnly($value)
213 213
     {
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.
admin/exports/dbase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return bool|string
119
+     * @return string|false
120 120
      */
121 121
     public function getDownloadPath()
122 122
     {
Please login to merge, or discard this patch.
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.