Skip to content

Psalm 5: InvalidReturnType regression for final classes #8925

@VincentLanglet

Description

@VincentLanglet

https://psalm.dev/r/7a0b9aed9f

Works fine if Foo is not final
https://psalm.dev/r/0641fa1047

It was working fine on Psalm 4 too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions