Skip to content

array count after using array_push #6974

@saeideng

Description

@saeideng

Bug report

phpstan could not understand count of array after using array_push

Code snippet that reproduces the problem

https://phpstan.org/r/d5e3c533-05e0-4cae-8f2d-157de6f05717

Expected output

no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions