How to disable error on vscode that show does not exist on interface worse.missing_member #2895
Answered
by
dantleech
manusiakemos
asked this question in
Q&A
-
|
Method "id" does not exist on interface "Illuminate\Support\Facades\Auth"phpactor(worse.missing_member)
|
Beta Was this translation helpful? Give feedback.
Answered by
dantleech
Nov 30, 2025
Replies: 1 comment
-
|
As of the next version of Phactor (i.e. the current master branch) you can avoid this issue through the use of additive stubs. So assuming you use the Laravel IDE helper package you can add those generated files as "additive stubs" and Alternatively you can already, II believe, add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
manusiakemos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

As of the next version of Phactor (i.e. the current master branch) you can avoid this issue through the use of additive stubs. So assuming you use the Laravel IDE helper package you can add those generated files as "additive stubs" and
id()will no longer be unrecognised.Alternatively you can already, II believe, add
/** @method int id() */annotations to your model class or use @mixin