Skip to content

Commit

Permalink
adjust phpdoc types in OauthApiController
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Oct 4, 2023
1 parent d4824eb commit 5efcbd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/oauth2/lib/Controller/OauthApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ public function __construct(
* Get a token
*
* @param string $grant_type Token type that should be granted
* @param string|null $code Code of the flow
* @param string|null $refresh_token Refresh token
* @param string|null $client_id Client ID
* @param string|null $client_secret Client secret
* @param ?string $code Code of the flow
* @param ?string $refresh_token Refresh token
* @param ?string $client_id Client ID
* @param ?string $client_secret Client secret
* @throws Exception
* @return JSONResponse<Http::STATUS_OK, array{access_token: string, token_type: string, expires_in: int, refresh_token: string, user_id: string}, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, array{error: string}, array{}>
*
Expand Down

0 comments on commit 5efcbd5

Please sign in to comment.