Skip to content

Narrowing type through instanceof #168

@felixfbecker

Description

@felixfbecker
if ($node instanceof Node\Expr\Variable) {
    // would be awesome if the server now knows that $node is of type Node\Expr\Variable
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions