Bug report
I'd like to use a generic class, where the generic type is always an array of scalars, but the exact shape can be configured when using it. The typechecker already handles this fine for code using the class, but it reports errors in the class definition, for the @template annotation and for the @param annotation.
Code snippet that reproduces the problem
https://phpstan.org/r/e5cb3813-71b9-42b2-8e66-bcb65c8d2bcd
Expected output
Only the error at line 25 should be reported.