You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functions that act as factories for objects, does not resolve to the objects; e.g. in Laravel
$user = auth()->user();
the intelephense does not recognize the function user which is valid for a \Illuminate\Contracts\Auth\Factory|\Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard which is documented as function's return types, so it has a red squiggly line beneath.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
functions that act as factories for objects, does not resolve to the objects; e.g. in Laravel
the intelephense does not recognize the function
user
which is valid for a\Illuminate\Contracts\Auth\Factory|\Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard
which is documented as function's return types, so it has a red squiggly line beneath.Thanks!
The text was updated successfully, but these errors were encountered: