php-parser
php-parser copied to clipboard
Disjunctive Normal Form (DNF) Types is not parsed
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;
}
}