psalm: InvalidPropertyFetch error emmited on accessing static properties

After upgrading from 3.11.5 to 3.11.6 I started getting InvalidPropertyFetch error on accessing static properties where class name is stored in a variable.

Issue reproducer at https://psalm.dev/r/7bad6b85e8

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 18 (4 by maintainers)

Most upvoted comments

Yeah I should have a release this weekend

Actually let me have a go at this, it’s a little tricky