Completed
Push — master ( 5b9ce9...28f670 )
by Michael
12:47 queued 07:24
created
oledrion/admin/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 /**
53 53
  * Returns a module option
54 54
  *
55
- * @param string    $option_name    The module's option
55
+ * @param string    $optionName    The module's option
56 56
  * @return object    The requested module's option
57 57
  */
58 58
 function oledrion_get_module_option($optionName = '')
Please login to merge, or discard this patch.
oledrion/admin/gateways/gateway.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * If your gateway does not requires parameters, then you must return false
108 108
      *
109
-     * @param  string $posstUrl The url to use to post data to
109
+     * @param  string $postUrl The url to use to post data to
110 110
      * @return mixed  (object if there is a form, else false)
111 111
      */
112 112
     abstract function getParametersForm($postUrl);
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * Returne the gateway's language file
153 153
      *
154
-     * @return the filename to use
154
+     * @return string filename to use
155 155
      */
156 156
     function getGatewayLanguageFile()
157 157
     {
Please login to merge, or discard this patch.
oledrion/admin/gateways/paypal/gateway.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -107,6 +107,7 @@
 block discarded – undo
107 107
 
108 108
     /**
109 109
      * Formate le montant au format Paypal
110
+     * @param double $amount
110 111
      */
111 112
     private function formatAmount($amount)
112 113
     {
Please login to merge, or discard this patch.
oledrion/admin/gateways/pec24/nusoap.php 1 patch
Doc Comments   +21 added lines, -17 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     /**
307 307
     * gets the current debug data for this instance
308 308
     *
309
-    * @return   debug data
309
+    * @return   string data
310 310
     * @access   public
311 311
     */
312 312
     function &getDebug() {
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
     * gets the current debug data for this instance as an XML comment
320 320
     * this may change the contents of the debug data
321 321
     *
322
-    * @return   debug data as an XML comment
322
+    * @return   string data as an XML comment
323 323
     * @access   public
324 324
     */
325 325
     function &getDebugAsXMLComment() {
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
     /**
355 355
     * returns error string if present
356 356
     *
357
-    * @return   mixed error string or false
357
+    * @return   string|false error string or false
358 358
     * @access   public
359 359
     */
360 360
     function getError(){
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
     * sets error string
370 370
     *
371
-    * @return   boolean $string error string
371
+    * @return   boolean|null $string error string
372 372
     * @access   private
373 373
     */
374 374
     function setError($str){
@@ -813,7 +813,7 @@  discard block
 block discarded – undo
813 813
     * returns false, if not prefixed
814 814
     *
815 815
     * @param string $str The prefixed string
816
-    * @return mixed The prefix or false if there is no prefix
816
+    * @return string|false The prefix or false if there is no prefix
817 817
     * @access public
818 818
     */
819 819
     function getPrefix($str){
@@ -845,7 +845,7 @@  discard block
 block discarded – undo
845 845
     * or false if no prefixes registered for the given namespace
846 846
     *
847 847
     * @param string $ns The namespace
848
-    * @return mixed The prefix, false if the namespace has no prefixes
848
+    * @return string The prefix, false if the namespace has no prefixes
849 849
     * @access public
850 850
     */
851 851
     function getPrefixFromNamespace($ns) {
@@ -915,7 +915,7 @@  discard block
 block discarded – undo
915 915
 *
916 916
 * @param    int $timestamp Unix time stamp
917 917
 * @param	boolean $utc Whether the time stamp is UTC or local
918
-* @return	mixed ISO 8601 date string or false
918
+* @return	string|false ISO 8601 date string or false
919 919
 * @access   public
920 920
 */
921 921
 function timestamp_to_iso8601($timestamp,$utc=true){
@@ -1053,7 +1053,7 @@  discard block
 block discarded – undo
1053 1053
     * @param string $faultcode (SOAP-ENV:Client | SOAP-ENV:Server)
1054 1054
     * @param string $faultactor only used when msg routed between multiple actors
1055 1055
     * @param string $faultstring human readable error message
1056
-    * @param mixed $faultdetail detail, typically a string or array of string
1056
+    * @param string $faultdetail detail, typically a string or array of string
1057 1057
     */
1058 1058
     function nusoap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
1059 1059
         parent::nusoap_base();
@@ -1899,7 +1899,7 @@  discard block
 block discarded – undo
1899 1899
     * returns a sample serialization of a given type, or false if no type by the given name
1900 1900
     *
1901 1901
     * @param string $type name of type
1902
-    * @return mixed
1902
+    * @return string|false
1903 1903
     * @access public
1904 1904
     * @deprecated
1905 1905
     */
@@ -2143,7 +2143,7 @@  discard block
 block discarded – undo
2143 2143
     *
2144 2144
     * @param    string $name optional name
2145 2145
     * @param    mixed $type optional type name
2146
-    * @param	mixed $value optional value
2146
+    * @param	integer $value optional value
2147 2147
     * @param	mixed $element_ns optional namespace of value
2148 2148
     * @param	mixed $type_ns optional namespace of type
2149 2149
     * @param	mixed $attributes associative array of attributes to add to element serialization
@@ -2351,7 +2351,6 @@  discard block
 block discarded – undo
2351 2351
     /**
2352 2352
     * establish an HTTP connection
2353 2353
     *
2354
-    * @param    integer $timeout set connection timeout in seconds
2355 2354
     * @param	integer $response_timeout set response timeout in seconds
2356 2355
     * @return	boolean true if connected, false if not
2357 2356
     * @access   private
@@ -2920,7 +2919,7 @@  discard block
 block discarded – undo
2920 2919
     *
2921 2920
     * @param    string $data message data
2922 2921
     * @param	array $cookies cookies to send
2923
-    * @return	boolean	true if OK, false if problem
2922
+    * @return	boolean|null	true if OK, false if problem
2924 2923
     * @access   private
2925 2924
     */
2926 2925
     function sendRequest($data, $cookies = NULL) {
@@ -3371,7 +3370,7 @@  discard block
 block discarded – undo
3371 3370
      * sets the content-type for the SOAP message to be sent
3372 3371
      *
3373 3372
      * @param string $type    the content type, MIME style
3374
-     * @param mixed  $charset character set used for encoding (or false)
3373
+     * @param string  $charset character set used for encoding (or false)
3375 3374
      * @access	public
3376 3375
      */
3377 3376
     function setContentType($type, $charset = false) {
@@ -3405,6 +3404,10 @@  discard block
 block discarded – undo
3405 3404
     /*
3406 3405
      * TODO: allow a Set-Cookie string to be parsed into multiple cookies
3407 3406
      */
3407
+
3408
+    /**
3409
+     * @param string $cookie_str
3410
+     */
3408 3411
     function parseCookie($cookie_str) {
3409 3412
         $cookie_str = str_replace('; ', ';', $cookie_str) . ';';
3410 3413
         $data = preg_split('/;/', $cookie_str);
@@ -4362,7 +4365,7 @@  discard block
 block discarded – undo
4362 4365
     *
4363 4366
     * @param	array	$headers	The HTTP headers
4364 4367
     * @param	string	$data		unprocessed request data from client
4365
-    * @return	mixed	value of the message, decoded into a PHP type
4368
+    * @return	false|null	value of the message, decoded into a PHP type
4366 4369
     * @access   private
4367 4370
     */
4368 4371
     function parseRequest($headers, $data) {
@@ -5540,7 +5543,7 @@  discard block
 block discarded – undo
5540 5543
     /**
5541 5544
     * serialize the parsed wsdl
5542 5545
     *
5543
-    * @param mixed $debug whether to put debug=1 in endpoint URL
5546
+    * @param integer $debug whether to put debug=1 in endpoint URL
5544 5547
     * @return string serialization of WSDL
5545 5548
     * @access public
5546 5549
     */
@@ -5768,7 +5771,7 @@  discard block
 block discarded – undo
5768 5771
      * @param  string $direction   (input|output)
5769 5772
      * @param  mixed  $parameters  parameter value(s)
5770 5773
      * @param  string $bindingType (soap|soap12)
5771
-     * @return mixed  parameters serialized as XML or false on error (e.g. operation not found)
5774
+     * @return false|string  parameters serialized as XML or false on error (e.g. operation not found)
5772 5775
      * @access public
5773 5776
      */
5774 5777
     function serializeRPCParameters($operation, $direction, $parameters, $bindingType = 'soap') {
@@ -5871,7 +5874,7 @@  discard block
 block discarded – undo
5871 5874
      * @param  string $operation  operation name
5872 5875
      * @param  string $direction  (input|output)
5873 5876
      * @param  mixed  $parameters parameter value(s)
5874
-     * @return mixed  parameters serialized as XML or false on error (e.g. operation not found)
5877
+     * @return false|string  parameters serialized as XML or false on error (e.g. operation not found)
5875 5878
      * @access public
5876 5879
      * @deprecated
5877 5880
      */
@@ -8015,6 +8018,7 @@  discard block
 block discarded – undo
8015 8018
     /**
8016 8019
     * dynamically creates proxy class code
8017 8020
     *
8021
+    * @param integer $r
8018 8022
     * @return   string PHP/NuSOAP code for the proxy class
8019 8023
     * @access   private
8020 8024
     */
Please login to merge, or discard this patch.
oledrion/blocks/oledrion_recent_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
  * Edition des paramètres du bloc
49 49
  *
50 50
  * @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés)
51
- * @return array
51
+ * @return string
52 52
  */
53 53
 function b_oledrion_recent_lists_edit($options)
54 54
 {
Please login to merge, or discard this patch.
oledrion/class/oledrion_attributes.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
      *
457 457
      * @param  string  $format             Format dans lequel renvoyer les données
458 458
      * @param  boolean $withFormatedPrices Faut il retourner les prix formatés ?
459
-     * @param  object  $product            Le produit de travail
459
+     * @param  oledrion_products  $product            Le produit de travail
460 460
      * @return array
461 461
      * @since 2.3.2009.03.11
462 462
      */
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
     /**
520 520
      * Retourne la liste des types d'attributs
521 521
      *
522
-     * @return array
522
+     * @return string[]
523 523
      * @since 2.3.2009.03.10
524 524
      */
525 525
     public function getTypesList()
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
     /**
535 535
      * Retourne le type de l'attribut courant (son libellé)
536 536
      *
537
-     * @return mixed Soit le type de l'attribut soit null;
537
+     * @return string|null Soit le type de l'attribut soit null;
538 538
      * @since 2.3.2009.03.10
539 539
      */
540 540
     public function getTypeName()
@@ -606,7 +606,7 @@  discard block
 block discarded – undo
606 606
      * 		oledrion_attribute_radio.html
607 607
      * 		oledrion_attribute_select.html
608 608
      *
609
-     * @param object $product Le produit de "travail"
609
+     * @param oledrion_products $product Le produit de "travail"
610 610
      *
611 611
      * @return string Le contenu html
612 612
      * @since 2.3.2009.03.16
@@ -760,7 +760,7 @@  discard block
 block discarded – undo
760 760
     /**
761 761
      * Construction de la liste des attributs d'un produit
762 762
      *
763
-     * @param  object  $product              Le produit concerné
763
+     * @param  oledrion_products  $product              Le produit concerné
764 764
      * @param  integer $mandatoryFieldsCount Retourne le nombre d'options requises
765 765
      * @return array   Les options construites en html
766 766
      * @since 2.3.2009.03.16
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
      * Retourne le montant initial des options d'un produit
787 787
      *
788 788
      * @param  oledrion_products $product
789
-     * @return float
789
+     * @return integer
790 790
      */
791 791
     public function getInitialOptionsPrice(oledrion_products $product)
792 792
     {
@@ -803,7 +803,6 @@  discard block
 block discarded – undo
803 803
     /**
804 804
      * Clonage d'un attribut
805 805
      *
806
-     * @param  oledrion_attributes $attribute L'attribute à cloner
807 806
      * @return mixed               Soit le nouvel attribut si tout a bien marché sinon false
808 807
      * @since 2.3.2009.03.16
809 808
      */
Please login to merge, or discard this patch.
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.