@@ -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 | { |
@@ -176,7 +176,7 @@ |
||
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /** |
| 179 | - * @return bool|string |
|
| 179 | + * @return string|false |
|
| 180 | 180 | */ |
| 181 | 181 | public function getDownloadPath() |
| 182 | 182 | { |
@@ -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 | { |