Skip to content

Commit

Permalink
Merge pull request #57 from stof/patch-1
Browse files Browse the repository at this point in the history
Allow league/oauth2-server 9.x
  • Loading branch information
steverhoades authored Sep 24, 2024
2 parents 363ac4c + af447e2 commit a459d0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This implements the OpenID Connect specification on top of The PHP League's [OAu

## Requirements

* Requires PHP version 5.5 or greater.
* Requires PHP version 7.2 or greater.
* [league/oauth2-server](https://github.com/thephpleague/oauth2-server) 5.1 or greater.

Note: league/oauth2-server version may have a higher PHP requirement.
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
}
],
"require": {
"league/oauth2-server": "^5.1|^6.0|^7.0|^8.0",
"php": ">=7.2",
"league/oauth2-server": "^5.1|^6.0|^7.0|^8.0|^9.0",
"lcobucci/jwt": "4.1.5|^4.2|^4.3|^5.0"
},
"require-dev": {
"phpunit/phpunit": "^5.0|^9.5",
"laminas/laminas-diactoros": "^1.3.2"
"laminas/laminas-diactoros": "^1.3.2 || ^3.3"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/IdTokenResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function getBuilder(AccessTokenEntityInterface $accessToken, UserEntit
* @param AccessTokenEntityInterface $accessToken
* @return array
*/
protected function getExtraParams(AccessTokenEntityInterface $accessToken)
protected function getExtraParams(AccessTokenEntityInterface $accessToken): array
{
if (false === $this->isOpenIDRequest($accessToken->getScopes())) {
return [];
Expand Down

0 comments on commit a459d0f

Please sign in to comment.