🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

$closure->bindTo: Cannot bind an instance to a static closure #14818

Description

@staabm

Feature request

the following code https://3v4l.org/4VkIZ#v generates a runtime warning

PHP Warning: Cannot bind an instance to a static closure

but does not generate a PHPStan error
https://phpstan.org/r/2d8e9dc5-00a2-44ec-95a1-5cf74a4cc5d2

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

No response

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