Hi,
this is only an enhancement, not a real issue. As I'm upgrading my laravel framework from V3 to V4, Iinstalled your very handy tools (thank you for them) and ran into this issue: With Eloquent models V3 you have to declare the table property as public static, now with V4 as protected. If you are not aware of this, php artisan ide-helper:models your-model leads to a 'nice' PHP Fatal error: Cannot redeclare non static Illuminate\Database\Eloquent\Model::$table as static Your-model::$table in ....
Maybe you could add a warning in your readme. And if not, from now on everybody else will know how to solve the error by themselfs :-)
Happy coding
But wouldn't it throw an error anyways when you first try to you use your model? So not really an issue with the command..
Yes, your right. After looking at the stack trace I saw, that it's laravel throwing the exception, not your code.
change public static by protected
Most helpful comment
change public static by protected