class-string<T of Something>
should pass through literal-string
#7823
Labels
Milestone
class-string<T of Something>
should pass through literal-string
#7823
Bug report
I'm getting
::class
from generic input constraint to a parent class. That value then is not getting throughliteral-string
checkCode snippet that reproduces the problem
https://phpstan.org/r/bf021dbe-1b1d-434f-811f-c6ede4beaa6a
Expected output
No error
The text was updated successfully, but these errors were encountered: