@param-out with conditionals #10703
Replies: 1 comment 1 reply
-
There's a feature request for that already :) #10699 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
with https://phpstan.org/r/a58e77a4-2c13-40dc-908d-8fa7d07b2ce8 I tried to get conditionals working in combination with
@param-out
. Unfortunately, it seems that is is not supported (yet). Are there any plans to support this feature or is there another possibility to define the resulting type of a parameter that is passed by-reference, depending on what is actually passed to the method?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions