Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Support union types #15

@j6s

Description

@j6s

While reviewing #14 we realized that union types (such as Foo|Bar) are not supported yet.

  • Union types in docblock typehints should be parsed as each of the component
  • Union types in actual type declarations ( https://wiki.php.net/rfc/union_types_v2 ) should be parsed
  • Union types in generics (e.g. Baz<Foo|Bar>) should also be parsed as each component + the wrapper

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