felixfbecker / php-language-server

PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥
ISC License
1.15k stars 185 forks source link

self type not resolved #313

Open jens1o opened 7 years ago

jens1o commented 7 years ago

image image File: https://github.com/slimphp/Slim/blob/3.x/Slim/Http/Request.php

I don't get any suggestions when the return type is self

felixfbecker commented 7 years ago

Yeah, Types\Self must be resolved to the containing class.

Ciantic commented 7 years ago

Is self unsupported otherwise too? I can't seem to get any results with typing self:: then autocomplete:

image