@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Set the scopes for permissions |
| 109 | 109 | * @see https://www.etsy.com/developers/documentation/getting_started/oauth#section_permission_scopes |
| 110 | - * @param array $scopes |
|
| 110 | + * @param string[] $scopes |
|
| 111 | 111 | * |
| 112 | 112 | * @return $this |
| 113 | 113 | */ |
@@ -54,7 +54,6 @@ |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | - * @param string $authorizationEndpoint |
|
| 58 | 57 | * |
| 59 | 58 | * @throws Exception |
| 60 | 59 | */ |
@@ -96,6 +96,9 @@ |
||
| 96 | 96 | return $code; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /** |
|
| 100 | + * @param string $responseBody |
|
| 101 | + */ |
|
| 99 | 102 | protected function parseRequestTokenResponse($responseBody) |
| 100 | 103 | { |
| 101 | 104 | parse_str($responseBody, $data); |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | /** |
| 69 | 69 | * @param DoliDB $db Database object |
| 70 | 70 | * @param Conf $conf Conf object |
| 71 | - * @param string $userid userid of user |
|
| 71 | + * @param integer $userid userid of user |
|
| 72 | 72 | */ |
| 73 | 73 | public function __construct(DoliDB $db, $conf, $userid = 0) |
| 74 | 74 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Additional `curl_setopt` parameters. |
| 31 | 31 | * |
| 32 | - * @param array $parameters |
|
| 32 | + * @param string[] $parameters |
|
| 33 | 33 | */ |
| 34 | 34 | public function setCurlParameters(array $parameters): void |
| 35 | 35 | { |