@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * @param array $options [optional] This is the options you may pass to the request. You might be interested |
123 | 123 | * in setting values for 'query', 'headers', 'body' or 'json'. See the readme for more. |
124 | 124 | * |
125 | - * @return array|\SimpleXMLElement|string What the function return depends on what format is used. If 'json' |
|
125 | + * @return string What the function return depends on what format is used. If 'json' |
|
126 | 126 | * you will get an array back. If 'xml' you will get a string. If you are setting the option 'simple_xml' to true |
127 | 127 | * you will get a \SimpleXmlElement back. |
128 | 128 | */ |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | * @param string $resource |
151 | 151 | * @param array $options |
152 | 152 | * |
153 | - * @return array|\SimpleXMLElement|string |
|
153 | + * @return string |
|
154 | 154 | */ |
155 | 155 | public function get($resource, array $options = array()) |
156 | 156 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * @param string $resource |
164 | 164 | * @param array $options |
165 | 165 | * |
166 | - * @return array|\SimpleXMLElement|string |
|
166 | + * @return string |
|
167 | 167 | */ |
168 | 168 | public function post($resource, array $options = array()) |
169 | 169 | { |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | * |
273 | 273 | * You should override this function if you want to change the default user array |
274 | 274 | * |
275 | - * @return mixed|null null if we could not get user data |
|
275 | + * @return string|null null if we could not get user data |
|
276 | 276 | */ |
277 | 277 | protected function getUserFromAccessToken() |
278 | 278 | { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | * Determines the access token that should be used for API calls. |
332 | 332 | * |
333 | 333 | * |
334 | - * @return AccessToken|null The access token of null if the access token is not found |
|
334 | + * @return AccessToken The access token of null if the access token is not found |
|
335 | 335 | */ |
336 | 336 | public function getAccessToken() |
337 | 337 | { |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | } |
470 | 470 | |
471 | 471 | /** |
472 | - * @param $state |
|
472 | + * @param null|string $state |
|
473 | 473 | * |
474 | 474 | * @return $this |
475 | 475 | */ |