{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/321","repository_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper","labels_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/321/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/321/events","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/321","id":133322285,"number":321,"title":"Method not found in class","user":{"login":"ethanf22","id":4087531,"avatar_url":"https://avatars.githubusercontent.com/u/4087531?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanf22","html_url":"https://github.com/ethanf22","followers_url":"https://api.github.com/users/ethanf22/followers","following_url":"https://api.github.com/users/ethanf22/following{/other_user}","gists_url":"https://api.github.com/users/ethanf22/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanf22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanf22/subscriptions","organizations_url":"https://api.github.com/users/ethanf22/orgs","repos_url":"https://api.github.com/users/ethanf22/repos","events_url":"https://api.github.com/users/ethanf22/events{/privacy}","received_events_url":"https://api.github.com/users/ethanf22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-12T19:24:12Z","updated_at":"2016-03-03T08:47:24Z","closed_at":null,"body":"I've run the following three commands:\r\n```\r\nphp artisan clear-compiled\r\nphp artisan ide-helper:generate\r\nphp artisan optimize\r\n```\r\n\r\nand I'm still showing a number of functions with errors. \r\n\r\nMany of them say Method not found in class. I also have some that say method signature uses 0 parameters. These functions tend to use `func_get_args()`. \r\n\r\nSome examples are \r\n`Header::with(\"campaign\")->groupBy(\"campaign_id\") //Method not found on groupBy ` \r\n`JavaScript::put([]); //Method signature uses 0 params`\r\n`Product::where() ;//method not found`\r\n`Product::find(); //method not found`\r\n`$model_var->save(); //method not found, seems to only be an error when ::find is used to get the model`\r\n\r\nI've tried adjusting my `use` statements to use the Facade instead of the full namespace and that helped with a few of the errors. The remaining errrors seem to be from Models that don't like the Eloquent functions.\r\n\r\nI could turn off the error notification for these but it still won't let me do the autocompletion for the method not found errors. \r\n\r\nI had the Laravel plugin installed but I tried removing that and it had no effect. I also tried setting up my directories and making `/app` and `/vendor` source folders and `/public` a resource root but that had no effect either.\r\n\r\nAm I missing something here?"},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/comments/191656903","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/321#issuecomment-191656903","issue_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/321","id":191656903,"user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T08:47:24Z","updated_at":"2016-03-03T08:47:24Z","body":"Can you try with the latest version, it should add a `@mixin` tag, which should add most methods."}}