Inspect conditional function arguments typing (one argument's value/type affects another's argument's type) #7124
-
Hello there, First of all, thanks for all the work that went into the conditional return types ! 🎉 https://phpstan.org/r/766430ca-a47a-4765-b713-846e35e12467 shows a wrapper around Currently, only one of the wrong combination of What do you think ? Is it a missing feature ? Or a won't do / not useful enough ? gnutix |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Related: #5938 |
Beta Was this translation helpful? Give feedback.
-
It shouldn't be hard to achieve it, please open a feature request about it :) |
Beta Was this translation helpful? Give feedback.
-
Implemented: phpstan/phpstan-src#1264 |
Beta Was this translation helpful? Give feedback.
Implemented: phpstan/phpstan-src#1264