![]() Or he may tell you what else you need to do/add in your class to have such methods get recognized.īut before that, if you have not done it yet, please check the plugin docs - you may have missed an extra step to have such code recognized. If after checking all that he say "all good on my end, it's PhpStorm that messing up/gets confused later" then it will need to be reported to PhpStorm Issue Tracker. My suggestion is: make up an example code (so it can be copy-pasted and checked on another machine) and contact the plugin author. Such magic resolving is what Laravel specific plugin does (should do). where() is provided by the QueryBuilder, not Model it gets dynamically resolved/routed by Laravel at runtime only. Where() and whereUserId() are not native methods of the Model class. CodePandits 43 subscribers Subscribe 2.5K views 3 years ago In this video you'll be learning how to setup your PhpStorm to support auto completions for your Laravel Facades, Controllers. ![]() If plugin reports that some method returns incorrect/no type at all/mixed type in the first place then what PhpStorm can do here? The completion for Laravel magic methods (and how that magic gets resolved into the concrete types) is done by that plugin. I suggest you check it with Laravel Idea plugin author.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |