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
I have const array in class and I use enum's value as key.
Psalm is going crazy with "Constant TranscodingCreateRequestFactory::MAP is not defined" https://psalm.dev/r/ed2358aa53
Psalm output (using commit 71bb951):
ERROR: UndefinedConstant - 17:19 - Constant TranscodingCreateRequestFactory::MAP is not defined
ERROR: UndefinedConstant - 18:26 - Constant TranscodingCreateRequestFactory::MAP is not defined
INFO: MixedAssignment - 18:13 - Unable to determine the type that $classname is being assigned to
INFO: MixedMethodCall - 20:20 - Cannot call constructor on an unknown class
I have const array in class and I use enum's value as key.
Psalm is going crazy with "Constant TranscodingCreateRequestFactory::MAP is not defined"
https://psalm.dev/r/ed2358aa53
But if change array key to simple string - everything works
https://psalm.dev/r/992a7c1602
The text was updated successfully, but these errors were encountered: