Closed distantnative closed 5 months ago
The example works for me. Is there any further example or info you can add to reproduce the issue? One thing to check is that there are not multiple classes of same name in the workspace.
Oh man, I just spotted a typo which make it fail. Thanks for the super quick reply 🙏 and sorry for the confusion
Describe the bug Trying to implement a collection base class that allows for narrowing the type hints for classes that extend it. But the templating docblock comments don't seem to be picked up correctly.
To Reproduce
Expected behavior
$value
inside the loop should be recognized as instance ofC
Platform and version macOS 14.4 VSCode 1.88.0 Intelephense v1.10.4
Same markup works with https://www.devsense.com/en - but I'd prefer to stick with intelephense