Skip to content

Unioned array shapes are no longer disjunctive #14301

@mvorisek

Description

@mvorisek

Bug report

as requested phpstan/phpstan-src#5227 (comment)

Code snippet that reproduces the problem

https://phpstan.org/r/63091c63-db6c-4612-8347-a733fb79fc00

Expected output

no error on line 25 - at least before phpstan/phpstan-src#5227 (comment) the l25 was right

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions