Skip to content

Add return type parameters to JwtBearer class#226

Merged
hajekj merged 1 commit into
TheNetworg:masterfrom
rserry:master
Jan 29, 2026
Merged

Add return type parameters to JwtBearer class#226
hajekj merged 1 commit into
TheNetworg:masterfrom
rserry:master

Conversation

@rserry

@rserry rserry commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

The return types handle this deprecation warning with relation to the League\OAuth2 bundle:

Method "League\OAuth2\Client\Grant\AbstractGrant::getName()" might add "string" as a native return type declaration in the future. Do the same in child class "TheNetworg\OAuth2\Client\Grant\JwtBearer" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "League\OAuth2\Client\Grant\AbstractGrant::getRequiredRequestParameters()" might add "array" as a native return type declaration in the future. Do the same in child class "TheNetworg\OAuth2\Client\Grant\JwtBearer" now to avoid errors or add an explicit @return annotation to suppress this message.

@hajekj
hajekj merged commit a897d60 into TheNetworg:master Jan 29, 2026
@hajekj

hajekj commented Jan 29, 2026

Copy link
Copy Markdown
Member

Thanks for the contribution!

@rserry

rserry commented Jan 30, 2026

Copy link
Copy Markdown
Contributor Author

@hajekj Thanks for merging!
How often do you do new releases? Just want to know when I can get these changes in my project to remove the warnings 😁

@rserry

rserry commented Feb 18, 2026

Copy link
Copy Markdown
Contributor Author

@hajekj can you create a new release?

@hajekj

hajekj commented Feb 20, 2026

Copy link
Copy Markdown
Member

Done - https://github.com/TheNetworg/oauth2-azure/releases/tag/v2.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants