laravel-ide-helper
                                
                                 laravel-ide-helper copied to clipboard
                                
                                    laravel-ide-helper copied to clipboard
                            
                            
                            
                        @mixin Builder instead of @mixin Eloquent?
I'm on Laravel 9 but still getting @mixin Eloquent instead of @mixin Builder from ide-helper after "artisan ide-helper:models", which doesn't work for static methods like ::where() on my models. Any idea how tell ide-helper to do that? Or another way to achieve that? Thanks! :)
Just waiting here with you for a fix...
any news on this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.
same issue :(
Hi, This is a workaround, but try adding @mixin \Eloquent to the actual model class
e.g.:
/**
 * @mixin \Eloquent
 */
class Dummy extends Model
{
    // ...snip
}