Skip to content

iterable is not an interface #8889

@mvorisek

Description

@mvorisek

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/50f6f6f6-b72e-4194-b8aa-8083d1142ab9

https://3v4l.org/YWhK8

Expected output

2x error, iterable is not an interface (and cannot be implemented as reversed php-src keyword)

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