@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | /** |
| 231 | 231 | * Get OAuth Error Type. |
| 232 | 232 | * |
| 233 | - * @param type $type |
|
| 233 | + * @param string $type |
|
| 234 | 234 | * |
| 235 | 235 | * @return mixed array error type or boolean false |
| 236 | 236 | */ |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | * Validate the provided access token or get the bearer token from the incoming http request |
| 339 | 339 | * |
| 340 | 340 | * @param array $params optional params |
| 341 | - * @return boolean true/false on valid access credentials |
|
| 341 | + * @return null|boolean true/false on valid access credentials |
|
| 342 | 342 | */ |
| 343 | 343 | protected function validateAccess(array $params = []) |
| 344 | 344 | { |