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

Add mixin to avoid PHPStan errors #162

Open
wants to merge 1 commit into
base: 12.6
Choose a base branch
from

Conversation

apasov
Copy link

@apasov apasov commented Mar 23, 2024

Fixes #144, fixes #150, fixes #161
Larastan developers explained me how to do this: larastan/larastan#1886

Fixes GrahamCampbell#144, fixes GrahamCampbell#150, fixes GrahamCampbell#161 
Larastan developers explained me how to do this: larastan/larastan#1886
@GrahamCampbell
Copy link
Owner

Thanks for taking the time to look into this, however I believe this PR to be incorrect because mixin loads these methods as instance methods instead of static methods.

@apasov
Copy link
Author

apasov commented Mar 24, 2024

Thanks! I'm absolutely okay if you decline this PR because I've already solved this for me by adding a .stub file as described in the larastan issue.
Just curious if there's a correct way to load these methods with PHPDocs?

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