padawan-php / padawan.php

php intelligent code completion http server
http://mkusher.name/padawan/
MIT License
253 stars 30 forks source link

Function as parameter does not work. #68

Open pbogut opened 8 years ago

pbogut commented 8 years ago

Given

<?php
class Test
{
    public function test($smth)
    {
        $this->test(a|
    }
}

There is no suggestion fow function call, I would expect array_map etc.

mkusher commented 8 years ago

Yeah, Context is set to type "Method call" which is not true. But if you type $this->test(1, arr you'll get completion