**Example** https://psalm.dev/r/8a642de112 **Explanation** Since I am checking for all relevant types before line 16, `$value` can only be `string` at this point. Psalm doesn't seem to agree. Am I missing something?