Skip to content

Return of parent::__set_state() method is only object #8573

@blankse

Description

@blankse

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/0e60e9cb-5dd0-4a64-8ab6-3ef4764ae44b

Expected output

The parent should return the right type static and not just object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions