Skip to content

Method completion within a class doesn't work #70

@sserbin

Description

@sserbin

Example code to reproduce a problem:

class foo {
    /**
     * @return DateTime
     */
    public function makeDateTime() {
    }

    public function __construct() {
        $dt = $this->makeDateTime();
        // $dt-> no completion
    }
}

Completion does work however outside class scope, e.g.:

$foo = new foo;
// $foo->makeDateTime()-> completion does work here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions