Skip to content

default() method bug #692

@ging-dev

Description

@ging-dev
class A {
    public static function default(): self {
        return new self();
    }

    public function test(): void {}
}

A::default()-> // autocomple not working here if function name is default

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions