Martin Rehberger

Results 2 comments of Martin Rehberger

The [default `Auth` facade](https://laravel.com/api/10.x/Illuminate/Support/Facades/Auth.html) does not support the `refresh()` method, [it is specific to `JWTGuard`](https://jwt-auth.readthedocs.io/en/develop/auth-guard/#refresh). You can use a workaround like $guard = Auth('api'); if (! $guard instanceof JWTGuard) {...

I'm facing the same issue right now, trying to introduce PHPStan to a very large repo. - Docker image `php:8.1-fpm-buster` - host is Mac with M2 (not sure if relevant,...