Skip to content

Abstract methods declared by interfaces and implemented by parent classes shouldn't raise errors #3958

@voku

Description

@voku

Bug report

no error with "PHP 8.0" but with "PHP 7.1 – 7.4"

Code snippet that reproduces the problem

https://phpstan.org/r/91b2e648-fc46-40c7-a674-04e9c873a795

Expected output

no error

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