Skip to content

Disjunctive Normal Form (DNF) Types is not parsed #1126

@abdul-alhasany

Description

@abdul-alhasany

Hi
It seems that Disjunctive Normal Form (DNF) Types is not supported yet. It is showing syntax error when displayed.

It would be great if it is supported in the pareser.

Example:

class Foo {
    public function bar((A&B)|null $entity) {
        return $entity;
    }
}

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