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

Generics for Collection functions #63

Closed
nvdbeek opened this issue Dec 24, 2019 · 1 comment
Closed

Generics for Collection functions #63

nvdbeek opened this issue Dec 24, 2019 · 1 comment

Comments

@nvdbeek
Copy link
Contributor

nvdbeek commented Dec 24, 2019

It would be nice to have a @template annotation for the default functions (first, last, getIterator and filter) and maybe more, so static code analysis tools like php-stan will understand the return type.

@aeviiq
Copy link
Owner

aeviiq commented Dec 30, 2019

Solved in #64

@aeviiq aeviiq closed this as completed Dec 30, 2019
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