Bug report
Asserting correctly work with value-of, but null|value-of always dumped null type
Code snippet that reproduces the problem
https://phpstan.org/r/82df4881-f73a-489d-9fba-e5e3d051a552
Expected output
null|'foo'|'bar'
Did PHPStan help you today? Did it make you happy in any way?
all the time ♥️