Skip to content

Parentheses in callable syntax are not interpreted correctly #74

@mabar

Description

@mabar

Parentheses in callables in some cases create unexpected results, like (Closure(): int|null) changing to (Closure(): int)|null
https://phpstan.org/r/f0db1360-c01a-4884-8c17-1caa7d464852

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions