oliverlundquist / laravel-jwt

0 stars 0 forks source link

Fix "CleanCode/StaticAccess" issue in app/Http/Controllers/AuthenticateController.php #3

Open oliverlundquist opened 8 years ago

oliverlundquist commented 8 years ago

Avoid using static access to class '\JWTAuth' in method 'getAuthenticatedUser'.

https://codeclimate.com/github/oliverlundquist/laravel-jwt/app/Http/Controllers/AuthenticateController.php#issue_576a4808ff412600011b7c2e

nisevi commented 7 years ago

@oliverlundquist hi there, I tried to inject JWTAuth in my controller, but that is not working... any idea of how to solve this one?