From 5efcbd5bd7ec339e0ba733d834a66fbf5ecb2d83 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 4 Oct 2023 13:51:05 +0200 Subject: [PATCH] adjust phpdoc types in OauthApiController Signed-off-by: Julien Veyssier --- apps/oauth2/lib/Controller/OauthApiController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index bb0f180bff991..dfb952a0951c0 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -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|JSONResponse *