Skip to content

Confusing error message for OverriddenPropertyAccess #9727

@edsrzf

Description

@edsrzf

The error message here is confusing: https://psalm.dev/r/f066e6d131

I would expect it to mention the base class A, like:

Property B::$foo has different access level than A::$foo

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