Skip to content

Phpstan is not reacting on faulty values for Fiber templates #13171

@olleharstedt

Description

@olleharstedt

Bug report

It doesn't seem to matter how I define the templates for the Fiber type

Code snippet that reproduces the problem

https://phpstan.org/r/9e20b835-30d3-4dcf-8235-42f5c3f9893b

Expected output

I expected the same error for Fiber as I get for SplStack in the snippet.

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

Always helps. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions