Completed
Pull Request — master (#4)
by Michael
07:27
created
oledrion/class/oledrion_caddy_attributes.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * Retourne la liste formatée des attributs liés à un caddy
157 157
      *
158 158
      * @param  integer $ca_caddy_id L'identifiant de caddy
159
-     * @param  object  $product     Le produit concerné par le caddy
159
+     * @param  oledrion_products  $product     Le produit concerné par le caddy
160 160
      * @return array
161 161
      * @since 2.3.2009.03.23
162 162
      */
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Supprime les caddies associés à une commande
217 217
      *
218
-     * @param  integer $caddy_cmd_id
218
+     * @param  integer $ca_cmd_id
219 219
      * @return boolean
220 220
      */
221 221
     public function removeCartsFromOrderId($ca_cmd_id)
Please login to merge, or discard this patch.
oledrion/class/oledrion_cat.php 1 patch
Doc Comments   -5 removed lines patch added patch discarded remove patch
@@ -143,11 +143,6 @@
 block discarded – undo
143 143
     /**
144 144
      * Renvoie (sous forme d'objets) la liste de toutes les catégories
145 145
      *
146
-     * @param  integer $start   Indice de début de recherche
147
-     * @param  integer $limit   Nombre maximum d'enregsitrements à renvoyer
148
-     * @param  string  $sort    Champ à utiliser pour le tri
149
-     * @param  string  $order   Ordre du tire (asc ou desc)
150
-     * @param  boolean $idaskey Indique s'il faut renvoyer un tableau dont la clé est l'identifiant de l'enregistrement
151 146
      * @return array   Taleau d'objets (catégories)
152 147
      */
153 148
     public function getAllCategories(oledrion_parameters $parameters)
Please login to merge, or discard this patch.
oledrion/class/oledrion_commands.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      * Mise à jour des stocks pour chaque produit composant la commande
161 161
      *
162 162
      * @param  object $order La commande à traiter
163
-     * @return void
163
+     * @return boolean
164 164
      */
165 165
     public function updateStocks($order)
166 166
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     /**
192 192
      * Retourne la liste des URLs de téléchargement liés à une commande
193 193
      *
194
-     * @param  object $order La commande en question
194
+     * @param  oledrion_commands $order La commande en question
195 195
      * @return array  Les URL
196 196
      */
197 197
     public function getOrderUrls(oledrion_commands $order)
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     /**
226 226
      * Envoi du mail chargé de prévenir le client et le magasin qu'une commande est validée
227 227
      *
228
-     * @param  object $order   La commande en question
228
+     * @param  oledrion_commands $order   La commande en question
229 229
      * @param  string $comment Optionel, un commentaire pour le webmaster
230 230
      * @return void
231 231
      */
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     /**
249 249
      * Validation d'une commande et mise à jour des stocks
250 250
      *
251
-     * @param  object  $order   La commande à traiter
251
+     * @param  oledrion_commands  $order   La commande à traiter
252 252
      * @param  string  $comment Optionel, un commentaire pour le mail envoyé au webmaster
253 253
      * @return boolean Indique si la validation de la commande s'est bien faite ou pas
254 254
      */
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
     /**
270 270
      * pack d'une commande et mise à jour des stocks
271 271
      *
272
-     * @param  object  $order   La commande à traiter
272
+     * @param  oledrion_commands  $order   La commande à traiter
273 273
      * @param  string  $comment Optionel, un commentaire pour le mail envoyé au webmaster
274 274
      * @return boolean Indique si la validation de la commande s'est bien faite ou pas
275 275
      */
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     /**
287 287
      * submit d'une commande et mise à jour des stocks
288 288
      *
289
-     * @param  object  $order   La commande à traiter
289
+     * @param  oledrion_commands  $order   La commande à traiter
290 290
      * @param  string  $comment Optionel, un commentaire pour le mail envoyé au webmaster
291 291
      * @return boolean Indique si la validation de la commande s'est bien faite ou pas
292 292
      */
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     /**
304 304
      * delivery d'une commande et mise à jour des stocks
305 305
      *
306
-     * @param  object  $order   La commande à traiter
306
+     * @param  oledrion_commands  $order   La commande à traiter
307 307
      * @param  string  $comment Optionel, un commentaire pour le mail envoyé au webmaster
308 308
      * @return boolean Indique si la validation de la commande s'est bien faite ou pas
309 309
      */
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
     /**
321 321
      * Informe le propriétaire du site qu'une commande est frauduleuse
322 322
      *
323
-     * @param  object $order   La commande en question
323
+     * @param  oledrion_commands $order   La commande en question
324 324
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
325 325
      * @return void
326 326
      */
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     /**
351 351
      * Informe le propriétaire du site qu'une commande est en attente
352 352
      *
353
-     * @param  object $order   La commande en question
353
+     * @param  oledrion_commands $order   La commande en question
354 354
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
355 355
      * @return void
356 356
      */
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     /**
366 366
      * Applique le statut de commande en attente à une commande
367 367
      *
368
-     * @param  object $order   La commande à traiter
368
+     * @param  oledrion_commands $order   La commande à traiter
369 369
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
370 370
      * @return void
371 371
      */
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
     /**
381 381
      * Informe le propriétaire du site qu'une commande à échoué (le paiement)
382 382
      *
383
-     * @param  object $order   La commande en question
383
+     * @param  oledrion_commands $order   La commande en question
384 384
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
385 385
      * @return void
386 386
      */
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     /**
396 396
      * Applique le statut de commande échouée à une commande
397 397
      *
398
-     * @param  object $order   La commande à traiter
398
+     * @param  oledrion_commands $order   La commande à traiter
399 399
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
400 400
      * @return void
401 401
      */
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
     /**
411 411
      * Informe le propriétaire du site qu'une commande à échoué (le paiement)
412 412
      *
413
-     * @param  object $order   La commande en question
413
+     * @param  oledrion_commands $order   La commande en question
414 414
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
415 415
      * @return void
416 416
      */
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
     /**
427 427
      * Applique le statut de commande annulée à une commande
428 428
      *
429
-     * @param  object $order   La commande à traiter
429
+     * @param  oledrion_commands $order   La commande à traiter
430 430
      * @param  string $comment Optionel, un commentaire pour le mail envoyé au webmaster
431 431
      * @return void
432 432
      */
Please login to merge, or discard this patch.
oledrion/class/oledrion_currency.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Access the only instance of this class
51 51
      *
52
-     * @return object
52
+     * @return oledrion_Currency
53 53
      *
54 54
      * @static
55 55
      * @staticvar   object
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * Returns an amount according to the currency's preferences (defined in the module's options)
70 70
      *
71
-     * @param  float  $amount The amount to work on
71
+     * @param  integer  $amount The amount to work on
72 72
      * @return string The amount formated according to the currency
73 73
      */
74 74
     public function amountInCurrency($amount = 0)
Please login to merge, or discard this patch.
oledrion/class/oledrion_gateways.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,8 @@
 block discarded – undo
101 101
     /**
102 102
      * Retourne le chemin complet vers le fichier de langue de la passerelle
103 103
      *
104
-     * @param  unknown_type $gatewayName
105
-     * @return unknown
104
+     * @param  string $gatewayName
105
+     * @return string
106 106
      */
107 107
     public static function getGatewayLanguageFilename($gatewayName)
108 108
     {
Please login to merge, or discard this patch.
oledrion/class/oledrion_lists.php 1 patch
Doc Comments   +2 added lines, -9 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * Retourne un tableau associatif qui pour chaque type de liste indique son type sous forme de texte
70 70
      *
71
-     * @return array
71
+     * @return string[]
72 72
      */
73 73
     static function getTypesArray()
74 74
     {
@@ -218,13 +218,6 @@  discard block
 block discarded – undo
218 218
     /**
219 219
      * Retourne la liste des listes récentes
220 220
      *
221
-     * @param  integer $start
222
-     * @param  integer $limit
223
-     * @param  string  $sort
224
-     * @param  string  $order
225
-     * @param  boolean $idAsKey
226
-     * @param  integer $listType
227
-     * @param  integer $list_uid
228 221
      * @return array   Tableau d'objets de type oledrion_lists [clé] = id liste
229 222
      */
230 223
     public function getRecentLists(oledrion_parameters $parameters)
@@ -406,7 +399,7 @@  discard block
 block discarded – undo
406 399
     /**
407 400
      * Retourne les x dernières listes qui contiennent des produits dans une certaine catégorie
408 401
      *
409
-     * @param  integer $cateGoryId L'identifiant de la catégorie
402
+     * @param  integer $categoryId L'identifiant de la catégorie
410 403
      * @param  integer $list_type  Le type de liste
411 404
      * @param  integer $limit      Le nombre maximum de listes à retourner
412 405
      * @return array   Objets de type oledrion_lists, [clé] = id liste
Please login to merge, or discard this patch.
oledrion/class/oledrion_manufacturer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * Retourne l'URL d'une des 5 images du fabricant courant
47 47
      *
48 48
      * @param  integer $pictureNumber Le numéro (de 1 à 5) de l'image que l'on souhaite récupérer
49
-     * @return mixed   L'URL    Soit l'url de l'image soit False si l'indice passé en paramètre n'est pas correct
49
+     * @return string|false   L'URL    Soit l'url de l'image soit False si l'indice passé en paramètre n'est pas correct
50 50
      */
51 51
     public function getPictureUrl($pictureNumber)
52 52
     {
Please login to merge, or discard this patch.
oledrion/class/oledrion_parameters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @param  string $key   Le nom du champ à traiter
62 62
      * @param  mixed  $value La valeur à lui attribuer
63
-     * @return object
63
+     * @return oledrion_parameters
64 64
      */
65 65
     public function __set($key, $value)
66 66
     {
Please login to merge, or discard this patch.
oledrion/class/oledrion_plugins.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Retourne l'instance unique de la classe
114 114
      *
115
-     * @return object
115
+     * @return oledrion_plugins
116 116
      */
117 117
     public static function getInstance()
118 118
     {
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
      * Déclenchement d'une action et appel des plugins liés
194 194
      *
195 195
      * @param  string $eventToFire L'action déclenchée
196
-     * @param  object $parameters  Les paramètres à passer à chaque plugin
197
-     * @return object L'objet lui même pour chaîner
196
+     * @param  oledrion_parameters $parameters  Les paramètres à passer à chaque plugin
197
+     * @return oledrion_plugins L'objet lui même pour chaîner
198 198
      */
199 199
     public function fireAction($eventToFire, oledrion_parameters $parameters = null)
200 200
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * Déclenchement d'un filtre et appel des plugins liés
229 229
      *
230 230
      * @param  string $eventToFire Le filtre appelé
231
-     * @param  object $parameters  Les paramètres à passer à chaque plugin
231
+     * @param  oledrion_parameters $parameters  Les paramètres à passer à chaque plugin
232 232
      * @return object Le contenu de l'objet passé en paramètre
233 233
      */
234 234
     public function fireFilter($eventToFire, oledrion_parameters &$parameters)
Please login to merge, or discard this patch.