Skip to content

Static methods not included for completion when calling instance #5295

@muglug

Description

@muglug

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions