Skip to content

Cannot call an abstract static method #3007

@vudaltsov

Description

@vudaltsov

Since 3.10 this code breaks. https://psalm.dev/r/94b8f284f0
It's certainly right that an abstract static method cannot be called from the abstract class itself, but how can I tell psalm that I have an array of implementing class names?

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