Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Bug - Autocompletion does not check type hints of closures. #178

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello

Autocompletion already checks the current function's signature for type hints to determine the type of a variable, but it does not do so for closures, for example:

$test = function (StaticClass $foo) {
    $foo->{darn}
};

Thanks in advance