Skip to content

Multiple return types forced to one get an error #1657

@roukmoute

Description

@roukmoute

Summary of a problem or a feature request

A method which can return multiple return types forced to one and I continue to get an error.

Code snippet that reproduces the problem

https://phpstan.org/r/8b653b78-3a11-4f25-94a3-75006596834f

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions