Skip to content

Conditional throw-types #7188

@staabm

Description

@staabm

Recently we added condtional return types and condtional parameters.

IMO it would also be usefull to have condtional throw-types, dependting on parameter-types

See https://phpstan.org/r/f473b462-f366-412b-b007-b1585ddd80e3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions