Skip to content

::attach has wrong name $info, expecting $data as defined by SplObjectStorage::attach #11133

@kamil-tekiela

Description

@kamil-tekiela

https://psalm.dev/r/a10fdd663a

I was expecting no error as the parameter name is $info which is exactly what it should be. https://www.php.net/manual/en/splobjectstorage.attach.php Where is $data coming from?

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