Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of the expectedMixins when calling Eloquent::writeEloquentModelHelper() #1501

Open
challgren opened this issue Jan 25, 2024 · 0 comments

Comments

@challgren
Copy link

Summary

I use the plugin Tpetry/PostgresqlEnhanced and it adds some useful Postgres Features to Laravel but the autocomplete in PHPStorm isn't working fully. I did notice the write-mixin option that seems to help with the autocomplete but when using the postgres-enhanced plugin the Builder has more features available. One feature I've been using a lot of is the whereBoolean method on \Tpetry\PostgresqlEnhanced\Query\Builder.

To get this to be added into the autocomplete I was able to modify the expectedMixins array but this wouldn't be a scalable feature.

I'd be happy to contribute a PR unless there's a better way to accomplish what I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant