Also yes: The plugin is enabled.įor example: inside my resource controller, Customer::find($id) It get the method "find" not found warning, If I go to the Costumer Class and extend it to Eloquent that problem goes away, but the methods that I personally created for the class get me the method not found warning in the IDE. I have installed both: The Laravel Plugin and the IDE Helper from Barry. JustOnUnderMillions If the current file is in a namespace, unprefixed classes will be looked up in the current. Please note that some selected serious errors (like autoloading issues, parent class not found, parse errors, etc.) cannot be ignored and must be solved to. Methods are recognized by PhpStorm only for old/previously created models, but NOT recognized for new ones. Im going insane with Laravel 5.1.11 and PHPStorm 10, My problem is that im getting the infamous 'Method Not Found error'. Im going insane with Laravel 5.1.11 and PHPStorm 10, My problem is that im getting the infamous 'Method Not Found error'. Load all files from the server to your local workspace (like you have open all files in phpstorm), after that the declaration should be found (Maybe refresh index in phpstorm). Here PhpStorm says that 'firstWhere' method not found on StripeEvent model: But on previous line (in the same file) with Transaction model PhpStorm finds this method: I tried to create other new models, but problem remains the same.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |