@@ -101,8 +101,8 @@ |
||
| 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 | { |
@@ -46,7 +46,7 @@ |
||
| 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 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @param integer $product_id Identifiant du produit |
| 50 | 50 | * @param integer $totalVotes Variable passée par référence et devant contenir le nombre total de votes du produit |
| 51 | 51 | * @param integer $sumRating Variable passée par référence et devant contenir le cumul des votes |
| 52 | - * @return none Rien |
|
| 52 | + * @return integer|null Rien |
|
| 53 | 53 | */ |
| 54 | 54 | public function getCountRecordSumRating($product_id, &$totalVotes, &$sumRating) |
| 55 | 55 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * Suppression des votes d'un produit |
| 89 | 89 | * |
| 90 | 90 | * @param integer $vote_product_id L'identifiant du produit |
| 91 | - * @return le résultat de la suppression |
|
| 91 | + * @return boolean résultat de la suppression |
|
| 92 | 92 | */ |
| 93 | 93 | public function deleteProductRatings($vote_product_id) |
| 94 | 94 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * @param integer $vote_product_id L'identifiant du produit |
| 154 | 154 | * @param integer $vote_uid L'identifiant de l'utilisateur |
| 155 | 155 | * @param integer $vote_rating Le vote |
| 156 | - * @return le résultat de la création du vote |
|
| 156 | + * @return boolean résultat de la création du vote |
|
| 157 | 157 | */ |
| 158 | 158 | public function createRating($vote_product_id, $vote_uid, $vote_rating) |
| 159 | 159 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * Access the only instance of this class |
| 30 | 30 | * |
| 31 | - * @return object |
|
| 31 | + * @return oledrion_registryfile |
|
| 32 | 32 | * |
| 33 | 33 | * @static |
| 34 | 34 | * @staticvar object |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * @return bool|string |
|
| 119 | + * @return string|false |
|
| 120 | 120 | */ |
| 121 | 121 | public function getDownloadPath() |
| 122 | 122 | { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | /** |
| 157 | 157 | * Returne the gateway's language file |
| 158 | 158 | * |
| 159 | - * @return the filename to use |
|
| 159 | + * @return string filename to use |
|
| 160 | 160 | */ |
| 161 | 161 | public function getGatewayLanguageFile() |
| 162 | 162 | { |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | 131 | * Formate le montant au format Paypal |
| 132 | - * @param $amount |
|
| 132 | + * @param double $amount |
|
| 133 | 133 | * @return string |
| 134 | 134 | */ |
| 135 | 135 | private function formatAmount($amount) |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | * This method is in charge to dialog with the gateway to verify the payment's statuts |
| 179 | 179 | * |
| 180 | 180 | * @param string $gatewaysLogPath The full path (and name) to the log file |
| 181 | - * @return void |
|
| 181 | + * @return string |
|
| 182 | 182 | */ |
| 183 | 183 | public function gatewayNotify($gatewaysLogPath) |
| 184 | 184 | { |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | /** |
| 378 | 378 | * gets the current debug data for this instance |
| 379 | 379 | * |
| 380 | - * @return debug data |
|
| 380 | + * @return string data |
|
| 381 | 381 | * @access public |
| 382 | 382 | */ |
| 383 | 383 | public function &getDebug() |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | * gets the current debug data for this instance as an XML comment |
| 392 | 392 | * this may change the contents of the debug data |
| 393 | 393 | * |
| 394 | - * @return debug data as an XML comment |
|
| 394 | + * @return string data as an XML comment |
|
| 395 | 395 | * @access public |
| 396 | 396 | */ |
| 397 | 397 | public function &getDebugAsXMLComment() |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | * |
| 412 | 412 | * @param string $val The string in which to expand entities. |
| 413 | 413 | * @access private |
| 414 | - * @return mixed|string |
|
| 414 | + * @return string |
|
| 415 | 415 | */ |
| 416 | 416 | public function expandEntities($val) |
| 417 | 417 | { |
@@ -429,7 +429,7 @@ discard block |
||
| 429 | 429 | /** |
| 430 | 430 | * returns error string if present |
| 431 | 431 | * |
| 432 | - * @return mixed error string or false |
|
| 432 | + * @return string|false error string or false |
|
| 433 | 433 | * @access public |
| 434 | 434 | */ |
| 435 | 435 | public function getError() |
@@ -445,7 +445,7 @@ discard block |
||
| 445 | 445 | * sets error string |
| 446 | 446 | * |
| 447 | 447 | * @param $str |
| 448 | - * @return bool $string error string |
|
| 448 | + * @return boolean|null $string error string |
|
| 449 | 449 | * @access private |
| 450 | 450 | */ |
| 451 | 451 | public function setError($str) |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | * returns false, if not prefixed |
| 907 | 907 | * |
| 908 | 908 | * @param string $str The prefixed string |
| 909 | - * @return mixed The prefix or false if there is no prefix |
|
| 909 | + * @return string|false The prefix or false if there is no prefix |
|
| 910 | 910 | * @access public |
| 911 | 911 | */ |
| 912 | 912 | public function getPrefix($str) |
@@ -941,7 +941,7 @@ discard block |
||
| 941 | 941 | * or false if no prefixes registered for the given namespace |
| 942 | 942 | * |
| 943 | 943 | * @param string $ns The namespace |
| 944 | - * @return mixed The prefix, false if the namespace has no prefixes |
|
| 944 | + * @return string The prefix, false if the namespace has no prefixes |
|
| 945 | 945 | * @access public |
| 946 | 946 | */ |
| 947 | 947 | public function getPrefixFromNamespace($ns) |
@@ -1015,7 +1015,7 @@ discard block |
||
| 1015 | 1015 | * |
| 1016 | 1016 | * @param int $timestamp Unix time stamp |
| 1017 | 1017 | * @param boolean $utc Whether the time stamp is UTC or local |
| 1018 | - * @return mixed ISO 8601 date string or false |
|
| 1018 | + * @return string|false ISO 8601 date string or false |
|
| 1019 | 1019 | * @access public |
| 1020 | 1020 | */ |
| 1021 | 1021 | function timestamp_to_iso8601($timestamp, $utc = true) |
@@ -1150,7 +1150,7 @@ discard block |
||
| 1150 | 1150 | * @param string $faultcode (SOAP-ENV:Client | SOAP-ENV:Server) |
| 1151 | 1151 | * @param string $faultactor only used when msg routed between multiple actors |
| 1152 | 1152 | * @param string $faultstring human readable error message |
| 1153 | - * @param mixed $faultdetail detail, typically a string or array of string |
|
| 1153 | + * @param string $faultdetail detail, typically a string or array of string |
|
| 1154 | 1154 | * @return Nusoap_fault |
| 1155 | 1155 | */ |
| 1156 | 1156 | public function nusoap_fault($faultcode, $faultactor = '', $faultstring = '', $faultdetail = '') |
@@ -2014,7 +2014,7 @@ discard block |
||
| 2014 | 2014 | * returns a sample serialization of a given type, or false if no type by the given name |
| 2015 | 2015 | * |
| 2016 | 2016 | * @param string $type name of type |
| 2017 | - * @return mixed |
|
| 2017 | + * @return string|false |
|
| 2018 | 2018 | * @access public |
| 2019 | 2019 | * @deprecated |
| 2020 | 2020 | */ |
@@ -2284,7 +2284,7 @@ discard block |
||
| 2284 | 2284 | * |
| 2285 | 2285 | * @param string $name optional name |
| 2286 | 2286 | * @param mixed $type optional type name |
| 2287 | - * @param mixed $value optional value |
|
| 2287 | + * @param integer $value optional value |
|
| 2288 | 2288 | * @param mixed $element_ns optional namespace of value |
| 2289 | 2289 | * @param mixed $type_ns optional namespace of type |
| 2290 | 2290 | * @param mixed $attributes associative array of attributes to add to element serialization |
@@ -3108,7 +3108,7 @@ discard block |
||
| 3108 | 3108 | * |
| 3109 | 3109 | * @param string $data message data |
| 3110 | 3110 | * @param array $cookies cookies to send |
| 3111 | - * @return boolean true if OK, false if problem |
|
| 3111 | + * @return boolean|null true if OK, false if problem |
|
| 3112 | 3112 | * @access private |
| 3113 | 3113 | */ |
| 3114 | 3114 | public function sendRequest($data, $cookies = null) |
@@ -3566,7 +3566,7 @@ discard block |
||
| 3566 | 3566 | * sets the content-type for the SOAP message to be sent |
| 3567 | 3567 | * |
| 3568 | 3568 | * @param string $type the content type, MIME style |
| 3569 | - * @param mixed $charset character set used for encoding (or false) |
|
| 3569 | + * @param string $charset character set used for encoding (or false) |
|
| 3570 | 3570 | * @access public |
| 3571 | 3571 | */ |
| 3572 | 3572 | public function setContentType($type, $charset = false) |
@@ -3602,6 +3602,10 @@ discard block |
||
| 3602 | 3602 | /* |
| 3603 | 3603 | * TODO: allow a Set-Cookie string to be parsed into multiple cookies |
| 3604 | 3604 | */ |
| 3605 | + |
|
| 3606 | + /** |
|
| 3607 | + * @param string $cookie_str |
|
| 3608 | + */ |
|
| 3605 | 3609 | public function parseCookie($cookie_str) |
| 3606 | 3610 | { |
| 3607 | 3611 | $cookie_str = str_replace('; ', ';', $cookie_str) . ';'; |
@@ -4578,7 +4582,7 @@ discard block |
||
| 4578 | 4582 | * |
| 4579 | 4583 | * @param array $headers The HTTP headers |
| 4580 | 4584 | * @param string $data unprocessed request data from client |
| 4581 | - * @return mixed value of the message, decoded into a PHP type |
|
| 4585 | + * @return false|null value of the message, decoded into a PHP type |
|
| 4582 | 4586 | * @access private |
| 4583 | 4587 | */ |
| 4584 | 4588 | public function parseRequest($headers, $data) |
@@ -4699,7 +4703,7 @@ discard block |
||
| 4699 | 4703 | * @param string $documentation optional Description to include in WSDL |
| 4700 | 4704 | * @param string $encodingStyle optional (usually 'http://schemas.xmlsoap.org/soap/encoding/' for encoded) |
| 4701 | 4705 | * @access public |
| 4702 | - * @return bool |
|
| 4706 | + * @return null|boolean |
|
| 4703 | 4707 | */ |
| 4704 | 4708 | public function register( |
| 4705 | 4709 | $name, |
@@ -5813,7 +5817,7 @@ discard block |
||
| 5813 | 5817 | /** |
| 5814 | 5818 | * serialize the parsed wsdl |
| 5815 | 5819 | * |
| 5816 | - * @param mixed $debug whether to put debug=1 in endpoint URL |
|
| 5820 | + * @param integer $debug whether to put debug=1 in endpoint URL |
|
| 5817 | 5821 | * @return string serialization of WSDL |
| 5818 | 5822 | * @access public |
| 5819 | 5823 | */ |
@@ -6042,7 +6046,7 @@ discard block |
||
| 6042 | 6046 | * @param string $direction (input|output) |
| 6043 | 6047 | * @param mixed $parameters parameter value(s) |
| 6044 | 6048 | * @param string $bindingType (soap|soap12) |
| 6045 | - * @return mixed parameters serialized as XML or false on error (e.g. operation not found) |
|
| 6049 | + * @return false|string parameters serialized as XML or false on error (e.g. operation not found) |
|
| 6046 | 6050 | * @access public |
| 6047 | 6051 | */ |
| 6048 | 6052 | public function serializeRPCParameters($operation, $direction, $parameters, $bindingType = 'soap') |
@@ -6152,7 +6156,7 @@ discard block |
||
| 6152 | 6156 | * @param string $operation operation name |
| 6153 | 6157 | * @param string $direction (input|output) |
| 6154 | 6158 | * @param mixed $parameters parameter value(s) |
| 6155 | - * @return mixed parameters serialized as XML or false on error (e.g. operation not found) |
|
| 6159 | + * @return false|string parameters serialized as XML or false on error (e.g. operation not found) |
|
| 6156 | 6160 | * @access public |
| 6157 | 6161 | * @deprecated |
| 6158 | 6162 | */ |
@@ -8400,7 +8404,7 @@ discard block |
||
| 8400 | 8404 | /** |
| 8401 | 8405 | * dynamically creates proxy class code |
| 8402 | 8406 | * |
| 8403 | - * @param $r |
|
| 8407 | + * @param integer $r |
|
| 8404 | 8408 | * @return string PHP/NuSOAP code for the proxy class |
| 8405 | 8409 | * @access private |
| 8406 | 8410 | */ |