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

Static methods not included for completion when calling instance #5295

Closed
muglug opened this issue Feb 27, 2021 · 0 comments
Closed

Static methods not included for completion when calling instance #5295

muglug opened this issue Feb 27, 2021 · 0 comments

Comments

@muglug
Copy link
Collaborator

muglug commented Feb 27, 2021

Given this snippet:

<?php
class Foo
{
    public function testFoo() {
        $this->
    }

    public static function bar() : void {}

    public function baz() : void {}
}

Only two methods (testFoo and baz) are offered for completion.

cc @thomasbley

@vimeo vimeo deleted a comment from psalm-github-bot bot Feb 27, 2021
@muglug muglug closed this as completed in 7db742d Feb 27, 2021
This was referenced Mar 15, 2021
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant