@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * @param string|array $data |
| 54 | - * @param $languageId |
|
| 54 | + * @param integer $languageId |
|
| 55 | 55 | * @return string |
| 56 | 56 | */ |
| 57 | 57 | private function getLanguageValue($data, $languageId) |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | 124 | * Remove the given nodes from the resource |
| 125 | - * @param $resource |
|
| 125 | + * @param SimpleXMLElement $resource |
|
| 126 | 126 | * @param $removeSpecificNodes |
| 127 | 127 | */ |
| 128 | 128 | private function removeSpecificNodes($resource, $removeSpecificNodes) |
@@ -68,7 +68,6 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | 70 | * Take the status code and throw an exception if the server didn't return 200 or 201 code |
| 71 | - * @param int $status_code Status code of an HTTP return |
|
| 72 | 71 | * @return boolean |
| 73 | 72 | * @throws PrestashopWebServiceException |
| 74 | 73 | */ |
@@ -225,6 +224,9 @@ discard block |
||
| 225 | 224 | return [$response, $info, $error]; |
| 226 | 225 | } |
| 227 | 226 | |
| 227 | + /** |
|
| 228 | + * @param string $title |
|
| 229 | + */ |
|
| 228 | 230 | public function printDebug($title, $content) |
| 229 | 231 | { |
| 230 | 232 | if ($this->debug) { |