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

Support for default values for @template #600

Open
szado opened this issue Feb 9, 2025 · 1 comment
Open

Support for default values for @template #600

szado opened this issue Feb 9, 2025 · 1 comment

Comments

@szado
Copy link

szado commented Feb 9, 2025

I would like to request the ability to specify default values for generic arguments in Valinor. I noticed that the library currently doesn't support this feature (see this discussion in PHPStan's repository). Would you consider adding support for default generic values as a potential feature in future releases?

@romm
Copy link
Member

romm commented Mar 30, 2025

Hi @szado, this seems interesting, but before going into development for this, would you have an example of where this feature would actually be useful?

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