Laravel-GitHub icon indicating copy to clipboard operation
Laravel-GitHub copied to clipboard

Add mixin to avoid PHPStan errors

Open apasov opened this issue 11 months ago • 2 comments

Fixes #144, fixes #150, fixes #161 Larastan developers explained me how to do this: https://github.com/larastan/larastan/issues/1886

apasov avatar Mar 23 '24 15:03 apasov

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.

GrahamCampbell avatar Mar 23 '24 16:03 GrahamCampbell

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?

apasov avatar Mar 24 '24 10:03 apasov