cspray, I have found myself, for the first time, having to write what I consider worse code to satisfy Psalm static analysis. Here's a watered-down example showing what I consider odd behavior.
https://psalm.dev/r/5862a290e2
I'm not certain why the 2nd call to
doSomething()
is valid but the 1st call is not.
Add comment