aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2023-10-04 13:51:05 +0200
committerJulien Veyssier <julien-nc@posteo.net>2023-10-05 14:24:03 +0200
commitd56950a6c92635ca75dd9925ce5c4ad776291ea3 (patch)
treef83f5434a0327a3836694445ab95fec35f5af387 /apps
parent98c8a465b0976dc39a0ab75cbeb625a79cadcaa3 (diff)
downloadnextcloud-server-d56950a6c92635ca75dd9925ce5c4ad776291ea3.tar.gz
nextcloud-server-d56950a6c92635ca75dd9925ce5c4ad776291ea3.zip
adjust phpdoc types in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/oauth2/lib/Controller/OauthApiController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php
index bb0f180bff9..dfb952a0951 100644
--- a/apps/oauth2/lib/Controller/OauthApiController.php
+++ b/apps/oauth2/lib/Controller/OauthApiController.php
@@ -74,10 +74,10 @@ class OauthApiController extends Controller {
* 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{}>
*