thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server

Home Page:https://oauth2.thephpleague.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong Type in DocBlock 3rd param `AbstractGrant::issueAccessToken`

tonybolzan opened this issue · comments

In class AbstractGrant::issueAccessToken 3rd param $userIdentifier must be equal to AccessTokenRepositoryInterface::getNewToken 3rd param.

Change @param string|null $userIdentifier to mixed in AbstractGrant.php#L441 like in AccessTokenRepositoryInterface.php#L27