@@ -52,7 +52,7 @@ |
||
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 = '') |
@@ -106,7 +106,7 @@ discard block |
||
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 |
||
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 | { |
@@ -107,6 +107,7 @@ |
||
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 | { |
@@ -306,7 +306,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | */ |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Edition des paramètres du bloc |
50 | 50 | * |
51 | 51 | * @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
52 | - * @return array |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | function b_oledrion_category_lists_edit($options) |
55 | 55 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Edition des paramètres du bloc |
50 | 50 | * |
51 | 51 | * @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
52 | - * @return array |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | function b_oledrion__mostviewed_lists_edit($options) |
55 | 55 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | * Edition des paramètres du bloc |
53 | 53 | * |
54 | 54 | * @param array $options [0] = Nombre maximum de listes à voir |
55 | - * @return array |
|
55 | + * @return string |
|
56 | 56 | */ |
57 | 57 | function b_oledrion_my_lists_edit($options) |
58 | 58 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Edition des paramètres du bloc |
50 | 50 | * |
51 | 51 | * @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
52 | - * @return array |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | function b_oledrion_random_lists_edit($options) |
55 | 55 | { |
@@ -48,7 +48,7 @@ |
||
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 | { |