@@ -130,10 +130,10 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * Get a single parameter from the auth code request parameters. |
132 | 132 | * |
133 | - * @param $key |
|
133 | + * @param string $key |
|
134 | 134 | * @param null $default |
135 | 135 | * |
136 | - * @return mixed |
|
136 | + * @return string |
|
137 | 137 | */ |
138 | 138 | public function getAuthCodeRequestParam($key, $default = null) |
139 | 139 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | * @param bool $httpHeadersOnly whether or not to check only the http headers of the request |
217 | 217 | * @param string|null $accessToken an access token to validate |
218 | 218 | * |
219 | - * @return mixed |
|
219 | + * @return boolean |
|
220 | 220 | */ |
221 | 221 | public function validateAccessToken($httpHeadersOnly = false, $accessToken = null) |
222 | 222 | { |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | /** |
227 | 227 | * get the scopes associated with the current request. |
228 | 228 | * |
229 | - * @return array |
|
229 | + * @return \League\OAuth2\Server\Entity\ScopeEntity[] |
|
230 | 230 | */ |
231 | 231 | public function getScopes() |
232 | 232 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * |
45 | 45 | * @param string $token The access token |
46 | 46 | * |
47 | - * @return null|AbstractTokenEntity |
|
47 | + * @return null|AccessTokenEntity |
|
48 | 48 | */ |
49 | 49 | public function get($token) |
50 | 50 | { |