Skip to content

Typed array loses types after array_map #11656

@kevinmade

Description

@kevinmade

Bug report

Typed array loses types after array_map

Code snippet that reproduces the problem

https://phpstan.org/r/8ba9916a-b2a8-45a7-9f6a-a137bef542a6

Expected output

No errors.

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions