From 8b3d7237c08d315ac2304de2119f607942c55dea Mon Sep 17 00:00:00 2001 From: smiley Date: Fri, 8 Mar 2024 20:07:43 +0100 Subject: [PATCH] :shower: --- src/Core/OAuth2Provider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/OAuth2Provider.php b/src/Core/OAuth2Provider.php index 3672211b..f08b38dd 100644 --- a/src/Core/OAuth2Provider.php +++ b/src/Core/OAuth2Provider.php @@ -41,7 +41,7 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ /** * @inheritDoc - * @param string[] $scopes + * @param string[]|null $scopes */ public function getAuthURL(array|null $params = null, array|null $scopes = null):UriInterface{ $params ??= []; @@ -165,7 +165,7 @@ public function getRequestAuthorization(RequestInterface $request, AccessToken $ } /** - * @param string[] $scopes + * @param string[]|null $scopes * @implements \chillerlan\OAuth\Core\ClientCredentials * @throws \chillerlan\OAuth\Providers\ProviderException */