Code inspection warning #77
-
Hello, Any advice on how to remove this warning without entirely deactivating the code inspection for methods that are not found ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey. You need either Laravel Idea plugin (paid) or add Laravel IDE helper to your project and run php artisan ide-helper:generate
php artisan ide-helper:meta
php artisan ide-helper:models which will generate some helper files so your IDE could see Eloquent methods. Laravel Query plugin needs either of those to work otherwise, it cannot understand for which methods to trigger autocompletion. |
Beta Was this translation helpful? Give feedback.
-
The commands generate/metal/models have no effect for this particular inspection warning.
|
Beta Was this translation helpful? Give feedback.
The commands generate/metal/models have no effect for this particular inspection warning.
The command that actually makes this inspection warning disappear is