You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Psalm output (using commit 03ee02c):
ERROR: InvalidDocblock - 11:1 - array{Foo::BAR : string} is not a valid type (:: in array key is only allowed for ::class in /var/www/vhosts/psalm.dev/httpdocs/src/somefile.php:8)
INFO: UnusedVariable - 11:1 - $a is never referenced or the value is not used
https://psalm.dev/r/f63080e0d7
With code
I get the error
Is there a way to use a class constant as array key in a type definition?
The text was updated successfully, but these errors were encountered: