@dgoosens@phpstan Isn't that just `string1|string2|string3`? Please open an issue if you feel the current type system isn't sufficient: https://t.co/wxMPG8Jd6s
@ramsey There must be a `false` value in $foo locally - for array_map the callback parameter type is inferred from the input value. PHPStan\dumpType() is useful for debugging.
After unusual 6 weeks of hiatus, PHPStan 1.8.3 is now released and it's MASSIVE with 76 fixed issues: https://t.co/gwwONAoVyJ
Big thanks to @herndlm @markusstaab@rvanvelzen1 for huge chunk of the work!