-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
phpstan/phpstan-src
#4289Labels
Description
Bug report
I cannot use a constant as key in array shapes, like I would do on array type declaration.
Code snippet that reproduces the problem
https://phpstan.org/r/99c9014b-9b9c-43ad-acf2-b7a05fad80e8
Expected output
Shouldn't throw an error.
Did PHPStan help you today? Did it make you happy in any way?
Everyday, it helps a lot and helps us maintain a good code quality.
Reactions are currently unavailable