Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function as parameter does not work. #68

Open
pbogut opened this issue Oct 6, 2016 · 1 comment
Open

Function as parameter does not work. #68

pbogut opened this issue Oct 6, 2016 · 1 comment
Labels

Comments

@pbogut
Copy link
Member

pbogut commented Oct 6, 2016

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
Copy link
Member

mkusher commented Oct 7, 2016

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

@mkusher mkusher added the bug label Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants