PHP-Open-Source-Saver / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
MIT License
729 stars 113 forks source link

Undefined type 'PHPOpenSourceSaver\JWTAuth\Contracts\JWTSubject'.intelephense(1009) #178

Closed martinsagat closed 2 years ago

martinsagat commented 2 years ago

Subject of the issue

Undefined type 'PHPOpenSourceSaver\JWTAuth\Contracts\JWTSubject'.intelephense(1009)

Your environment:

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 9
Package version 1.4
PHP version 8

I am getting this issue I believe due to the naming convention for the package as it cannot read hyphens.

image
martinsagat commented 2 years ago

I had to run composer dump-autoload

rizal1919 commented 2 years ago

Hi its still cannot work for me