thephpleague / oauth2-github

GitHub Provider for the OAuth 2.0 Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad PhpDocs

dac514 opened this issue · comments

Stuff like this makes it very hard to navigate the code base when debugging...

bad-phpdocs-2

My IDE thinks $data is a string because the project says so.

bad-phpdocs

My IDE doesn't recognize the namespaces (first slash is missing, so it's relative), $data is declared a string, throws is not right.

I use PhpStorm.

Thank you for your consideration.

Valid points. The documentation is a hold over from pre-2.0 when $data wasn't parsed at this point. I will update.