thephpleague / oauth2-github

GitHub Provider for the OAuth 2.0 Client
MIT License
106 stars 29 forks source link

Fix incorrect phpdoc type hints #12

Closed shadowhand closed 6 years ago

shadowhand commented 7 years ago

Fixes #11

dac514 commented 7 years ago

In src\Provider\GithubResourceOwner.php and src/Provider/Github.php my IDE doesn't know what ResourceOwner is.

Should be \League\OAuth2\Client\Provider\ResourceOwnerInterface or \League\OAuth2\Client\Provider\GithubResourceOwner

dac514 commented 7 years ago

(PS: Thanks for this)