False warning? But it makes sense... #89
Replies: 1 comment
-
Found a fix. You just basically need to get this and set this up accordingly. Ide-helper In my case, I generated helpers for models
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Today while learning Laravel, I encountered a weird problem. It said
Method "create" does not exist on class "App\Models\Note"
.Sure enough, there was INDEED no method in the Note class because it inherits the Eloquent Model which in turns uses magic mehods to pass the call to Builder::create().
Source
Based on that, is this error normal or did I somehow messed up my laravel.nvim config?
Image of that aforementioned Note model
Sorry for the crude formatting, and thank you for reading this
Beta Was this translation helpful? Give feedback.
All reactions