rzvc
rzvc
Any workaround for this until it becomes supported?
I'm very interested in this as well. Is there any other way to declare a typedef so intelephense is aware of it?
@danilopolani, I think the only reason `@method` works at class level is because it's meant to describe magic method (that aren't actually there, so you can't declare it in the...
Ah, the example was oversimplified I think. I'm talking about having multiple signatures like this: ```php /** * @param string|mixed $key_or_value * @param ?mixed $value * @return void * @method...
Psalm doesn't support method overloading at the moment. Instead it relies on conditional return types, which gets you half way there. Full support seems to be on the roadmap tho....
That should work too. Thanks.
I also want this, and not only for properties, but for any bool. From the user code's POV, there's no difference between `if (foo())` and `if ($foo)`. The most common...
Is there any workaround for this? `@psalm-type` seems to be a very powerful utility, but it suffers from a couple of crippling limitations. The one in this issue being one...
I have the exact same issue.