Skip to content

intelephense.diagnostics.typeErrors does not appear to work #59

@esetnik

Description

@esetnik

intelephense.diagnostics.typeErrors: Enables diagnostics on type compatibility of arguments, property assignments, and return statements where types have been declared, default: true

In the following sample code no diagnostic error is generated:

    public function test(string $arg): int
    {
        return 'test';
    }

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