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

Implement generics for static anlysis tools like PHPStan #57

Open
dretsa opened this issue Mar 28, 2022 · 1 comment
Open

Implement generics for static anlysis tools like PHPStan #57

dretsa opened this issue Mar 28, 2022 · 1 comment

Comments

@dretsa
Copy link

dretsa commented Mar 28, 2022

It would be good if generics are added, for better static analysis. For example, the find method should return T|false.

Reference: https://phpstan.org/blog/generics-in-php-using-phpdocs

@florianeckerstorfer
Copy link
Member

@colorninja Feel free to submit a PR

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

No branches or pull requests

2 participants