Skip to content
Discussion options

You must be logged in to vote

static<T> does not have a good support right now because you can't assume the child class have the same number of @template with the same meaning and the same order.

With @phpstan-consistent-templates (there's an open PR about it) it's gonna be much more useful 😊

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mitelg
Comment options

@ondrejmirtes
Comment options

@mitelg
Comment options

Answer selected by mitelg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants